LPM: Not so quiet on the western front...

Matt Cashner eek at eekeek.org
Mon Jul 23 15:28:02 CDT 2001


On Mon, 23 Jul 2001, Janine wrote:


> undef @bigarray is not freeing up memory as I expect.  Watching the
> program's memory usage with top, it slowly creeps up and up and up -
> even after @bigarray is undef'd.
>
> Right now I'm looking at the "stuff".  Something in there must be
> holding on to elements in @bigarray.

ouch. i've been there. you might try putting the routine in a block of
its own. that should add extra scoping and yet another place for that
array to get cleared.

--------
Matt Cashner
Web Applications Developer
The Creative Group (http://www.cre8tivegroup.com)
eek at eekeek.org | Codito, ergo sum





More information about the Lexington-pm mailing list