in reply to How would you use perl debugging tools to pinpoint the problem here?
If you're using Apache, you can do this by making sure that the setrlimit utility is in your PATH, and setting the environment variable APACHE_ADDRESS_SPACE_MB to whatever you want before starting Apache.use BSD::Resource; my $limit = 100*1024*1024; # 100 MB setrlimit(RLIMIT_AS, $limit, $limit);
This doesn't stop you from having to debug the problem, but this makes the bug be less of a development problem for you.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How would you use perl debugging tools to pinpoint the problem here?
by blazar (Canon) on Nov 10, 2005 at 16:38 UTC |