[Catalyst] How to reduce the memory footprint?
jshirley at gmail.com
Mon Nov 23 21:45:41 GMT 2009
On Mon, Nov 23, 2009 at 1:25 PM, Julien Sobrier <julien at sobrier.net> wrote:
> Right, nprocs=3D5
> I thought 100M RES/300M VIRT meanst 100M per process, and 300M shard among
> perl processes.
> I don't have many other processes running on the box. If I turn off
> catalyst, I use less than 250MB or memory. With Catalyst, I'm over 800MB
> with some occasional swapping.
How are you profiling your app (and determining how much memory is
"free")? You can profile the memory usage of your app using the
development server and get a very good idea of where the memory usage is at.
I wouldn't trust the output of top/ps to determine how much memory is used.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Catalyst