Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming > #5958 > unrolled thread
| Started by | Richard Heathfield <rjh@cpax.org.uk> |
|---|---|
| First post | 2015-10-28 21:29 +0000 |
| Last post | 2015-10-28 21:43 +0000 |
| Articles | 2 — 1 participant |
Back to article view | Back to comp.programming
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Capacity planning... Richard Heathfield <rjh@cpax.org.uk> - 2015-10-28 21:29 +0000
Re: Capacity planning... Richard Heathfield <rjh@cpax.org.uk> - 2015-10-28 21:43 +0000
| From | Richard Heathfield <rjh@cpax.org.uk> |
|---|---|
| Date | 2015-10-28 21:29 +0000 |
| Subject | Re: Capacity planning... |
| Message-ID | <n0reki$ip3$1@dont-email.me> |
On 29/10/15 00:23, Ramine wrote: > > Richard Heathfield have wrote about the constructor of my > scalable distributed reader-writer mutex this > > > >Okay, so if there isn't enough memory, either it throws an error, in > >which case the program aborts unexpectedly (I see no "catch" code > >here), or it scribbles all over memory it doesn't own. > >Neither option looks good from over here. > > > You have to know that to ensure a good level of security in QOS > you have to do a kind of capacity planning , since i am > using many threads, so you have to limit the memory consumption to a > certain good level of security , and you have to do it like by > calculating how much each thread does consume of memory and how much > your overall application does consume of memory, and like > in capacity planning you have to calculate that for all > your applications that are running on the server or computer > to ensure, like in realtime systems, a good level of security. > So as you have noticed this is the write way to do it. No, that isn't what I noticed. I noticed that the program either aborts unexpectedly or scribbles all over memory it doesn't own. It isn't clear which of those applies, but it does seem that one or the other must happen. -- Richard Heathfield Email: rjh at cpax dot org dot uk "Usenet is a strange place" - dmr 29 July 1999 Sig line 4 vacant - apply within
[toc] | [next] | [standalone]
| From | Richard Heathfield <rjh@cpax.org.uk> |
|---|---|
| Date | 2015-10-28 21:43 +0000 |
| Message-ID | <n0rfdf$m43$1@dont-email.me> |
| In reply to | #5958 |
On 29/10/15 00:42, Ramine wrote: > > With the Delphi and FreePascal compilers it will throw an exception > that is: "out of memory", don't bother about that.. Oh, but I do. -- Richard Heathfield Email: rjh at cpax dot org dot uk "Usenet is a strange place" - dmr 29 July 1999 Sig line 4 vacant - apply within
[toc] | [prev] | [standalone]
Back to top | Article view | comp.programming
csiph-web