perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Foo Ji-Haw <>
Subject Re: No image creation in mod_perl
Date Tue, 28 Mar 2006 10:17:47 GMT
Hello Carl,
> Nope that's right, so you load up one image. The perl process 
> allocates itself 100MB of memory for it from the OS. Then doesn't 
> release it back to the OS once it's finished with.
> The perl process will re-use this memory, so if you process another 
> image you don't grab another 100MB, it's just not available at the OS 
> level or for other processes.
> This isn't completely bad as long as your OS has good memory 
> management. The unused memory in the perl process will just be swapped 
> out to disk and left there until that process uses it again or exits.
Can I confirm that in the Windows implementation, if a thread allocates 
requires 100MB of memory and then releases it, the next thread can reuse 
that memory?


View raw message