Re: ring queue memory allocation question

2011-11-01 Thread Gordon Sim
On 10/31/2011 06:23 PM, Fraser Adams wrote: We hypothesised that this might be deliberate and the ring queue might well do its own memory management (object pools or the like) and reclaim allocated memory rather than deleting it. The ring queue does not do anything so sophisticated. However

ring queue memory allocation question

2011-10-31 Thread Fraser Adams
I've a question about ring queue memory allocation/deallocation. So as items get added to a ring queue in the c++ broker clearly memory starts to get used up, but a colleague of mine mentioned that for a given queue size (IIRC the queue was 1GB) it seems to be the case that over time the