in reply to Re: Re: reducing memory usage
in thread reducing memory usage
If you really are seeing a footprint shrink like that, it's likely you've got something being cached somewhere that gets reused after a while and shrinks on that reuse. (Perl does some aggressive caching of array structures in lexicals, for example)
Finally, it's possible you're running afoul of an almost-but-not-quite empty memory segment. Perl's asked for a 5 meg chunk at some point, uses it and then frees up all but a few bytes right at the beginning, so it has to hold on to the chunk until the last thing using a part of it dies or goes somewhere else. (And there's not much you can do about that, unfortunately)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: reducing memory usage
by batkins (Chaplain) on Dec 17, 2002 at 20:25 UTC | |
by Elian (Parson) on Dec 17, 2002 at 22:11 UTC | |
by batkins (Chaplain) on Dec 17, 2002 at 23:34 UTC |