comp.lang.ada
 help / color / mirror / Atom feed
From: Cyrille <comar@eu.adacore.com>
Subject: Re: heap size exceeded for large matrices
Date: Mon, 30 Aug 2010 04:04:28 -0700 (PDT)
Date: 2010-08-30T04:04:28-07:00	[thread overview]
Message-ID: <8c2e3800-9f6b-4a16-a8a6-e0aa9eeb13fe@h19g2000yqb.googlegroups.com> (raw)
In-Reply-To: k6vm769bcgllh2lg4g373dvfo25q8bu7m8@4ax.com

On Aug 30, 11:45 am, Brian Drummond <brian_drumm...@btconnect.com>
wrote:>
> Apologies to all: My late night recollection was faulty; my experiment covered a
> different case.
>
> If the "new" allocation is in a loop, explicit deallocation (or possibly
> controlled types - I haven't tried them yet) is required.

If you want this behavior (i.e. deallocation of your dynamically
allocated object on scope exit) you can explicitly associate the local
access type to a pool object of type
System.Pool_Local.Unbounded_Reclaim_Pool.



  reply	other threads:[~2010-08-30 11:04 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-29  8:50 heap size exceeded for large matrices John Raymond Dore
2010-08-29  9:51 ` Yannick Duchêne (Hibou57)
2010-08-29 10:42   ` Simon Wright
2010-08-29 15:33     ` John Raymond Dore
2010-08-29 10:27 ` Pascal Obry
2010-08-29 15:14   ` Brian Drummond
2010-08-29 16:16     ` John Raymond Dore
2010-08-29 22:06       ` Peter C. Chapin
2010-08-29 22:47         ` Brian Drummond
2010-08-30  9:45           ` Brian Drummond
2010-08-30 11:04             ` Cyrille [this message]
2010-08-30 13:01               ` System.Pool_Local.Unbounded_Reclaim_Pool (Was: heap size exceeded for large matrices) Jacob Sparre Andersen
2010-08-30 13:38                 ` Dmitry A. Kazakov
2010-08-30 14:08                   ` Robert A Duff
2010-08-30 14:14                   ` J-P. Rosen
2010-08-30  7:44         ` heap size exceeded for large matrices Natasha Kerensikova
2010-08-30  9:41           ` Brian Drummond
2010-08-30  9:55             ` Natasha Kerensikova
2010-08-30  9:55           ` Dmitry A. Kazakov
2010-08-30 10:21             ` Georg Bauhaus
2010-08-30 18:56               ` Jeffrey Carter
2010-08-30 16:55             ` Simon Wright
2010-08-30 17:00               ` Robert A Duff
2010-08-30 19:51                 ` Simon Wright
2010-08-30 16:58           ` Simon Wright
2010-08-31 17:56             ` Natasha Kerensikova
2010-08-29 17:57     ` Pascal Obry
2010-08-29 15:35   ` John Raymond Dore
2010-08-29 17:57     ` Pascal Obry
2010-08-29 19:19       ` Ludovic Brenta
2010-08-29 20:33         ` Pascal Obry
2010-08-29 21:17           ` Robert A Duff
2010-08-29 21:29             ` Ludovic Brenta
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox