You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by George Sanderson <ge...@xorgate.com> on 2001/01/03 13:51:34 UTC

mod_perl large scalar cache

I have a mod_perl hash scalar that can store up to 4 MB of string data.

I was wondering what happens to the memory usage after a "delete
$myhash{large}"?

I was thinking (I know this can be dangerous:-), it would be nice if I
could tell mod_perl to cache scalars that become larger than some specified
value, so that they do not chew up too large chunks of memory.