in reply to Re: Re: Strange memory growth?
in thread Strange memory growth?
Update: Here's an even simpler example:
$foo = 'perl' x 1000000; sleep 5; $foo = 'perl' x 1000000; sleep 5; $foo = 'perl' x 1000000; sleep 5; $foo = 'perl' x 1000000; sleep 5; $foo = 'perl' x 1000000; sleep 5; $foo = 'perl' x 1000000; sleep 5;
Here I'm assigning the same value to the same variable over and over, why is memory use increasing? It seems too simple to be a bug, but still seems hard to explain.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Strange memory growth?
by Anonymous Monk on Nov 09, 2003 at 18:05 UTC |