Re: Allocators and memory reclamation



On Jan 28, 9:53 am, Lucretia <lucret...@xxxxxxxxxxx> wrote:
On Jan 28, 1:49 pm, Maciej Sobczak <see.my.homep...@xxxxxxxxx> wrote:

"By default, the implementation might choose to have a single global
storage pool, which is used (by default) by all access types, which
might mean that storage is reclaimed automatically only upon partition
completion."

I didn't realise this either.

Luke.

I think what they mean here is as one allocates memory it will be
requested on the system level. This memory might be only released when
all objects are properly deallocated from the entire pool. However it
seems to be recommendation ("might") and is not what I see with GNAT.
I see memory footprint growing and shrinking as it runs and it is
never deallocating all dynamic objects at any time.

George

.



Relevant Pages