From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,fdc38a13551814d X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!m34g2000hsf.googlegroups.com!not-for-mail From: gpriv@axonx.com Newsgroups: comp.lang.ada Subject: Re: Allocators and memory reclamation Date: Mon, 28 Jan 2008 08:00:51 -0800 (PST) Organization: http://groups.google.com Message-ID: References: <4a2fe64e-ae34-4093-88ec-1dc612a9adbd@v29g2000hsf.googlegroups.com> <1d5f87ac-1d82-4d61-9de3-6cb822c69f67@e23g2000prf.googlegroups.com> NNTP-Posting-Host: 151.196.71.114 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1201536052 19188 127.0.0.1 (28 Jan 2008 16:00:52 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 28 Jan 2008 16:00:52 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: m34g2000hsf.googlegroups.com; posting-host=151.196.71.114; posting-account=YaY8rAoAAAAAnFXOECY3BGVJsrvFJCgy User-Agent: G2/1.0 X-HTTP-Via: 1.1 SPARKS X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:19629 Date: 2008-01-28T08:00:51-08:00 List-Id: On Jan 28, 9:53 am, Lucretia wrote: > On Jan 28, 1:49 pm, Maciej Sobczak 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