Is there a way that I can force mod_perl to re-use buffer memory?
Posted
by Pavel Georgiev
on Stack Overflow
See other posts from Stack Overflow
or by Pavel Georgiev
Published on 2010-03-16T05:15:16Z
Indexed on
2010/03/16
13:26 UTC
Read the original article
Hit count: 225
Hi,
I have a Perl script running in mod_perl that needs to write a large amount of data to the client, possibly over a long period. The behavior that I observe is that once I print and flush something, the buffer memory is not reclaimed even though I rflush
(I know this can't be reclaimed back by the OS).
Is that how mod_perl operates and is there a way that I can force it to periodically free the buffer memory, so that I can use that for new buffers instead of taking more from the OS?
© Stack Overflow or respective owner