Re: [Catalyst] How much RAM do your Catalyst apps use up?
- kakim...@tpg.com.au wrote: Hi, guys, I have a virtual machine with 256MB of ram. When I run my catalyst app (ie myapp_server.pl) in the day, it's fine. NEvertheless, when I run my app from 6pm onwards til midnight, a few clicks on the app to retrieve some data (the same way I use it in the mornings), and the whole machine hangs up on me. I have a few Ubuntu Server virtual machines with 256 MB of ram allocated, which use Postgres 8.3 and Catalyst (under apache w/mod_perl), and they run fine for single-user usage of the application. (They're for testing.. I also have some catalyst+postgres apps running on live sites, but I've never tried those on so little ram!) I'm surprised the entire machine locks up -- have you tried diagnosing what is going on when that happens? (eg. checking log files) Is it defnitely an OOM problem, or something else manifesting? -Toby ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] How much RAM do your Catalyst apps use up?
On Wed, Jun 24, 2009 at 02:05, Tobias Kremertobias.kre...@gmail.com wrote: On Wed, Jun 24, 2009 at 10:51 AM, kakim...@tpg.com.au wrote: Just want to get an idea, how much RAM do your Catalyst apps use or do your machines that run the Catalyst app actually have allocated? MojoMojo, which is probably the most complex Catalyst application, needs 60-90MB per FastCGI child, and has been running fine (8MB swapped) on my Linode with 360MB RAM and PostgreSQL 8.3 running on it. I only had RAM issues with MojoMojo once, when it leaked memory due to repeatedly instantiating a Syntax::Highlight::Engine::Kate object which apparently wasn't completely garbage collected when it went out of scope. Moving that initialization where it got executed only once, solved the problem. Dan ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/