I have made a switch from cgi to mod_perl and memory is the least of my problem. My mod_perl application is now sized at 50M per process. That is 20 processes per server with 1G memory each.
With the current normal memory size on servers ranging above 1Gb, you don't need to worry about your process sucking all the available memory. The only time you need to worry about running out of memory is when your application needs to process a really large data set, which needs to be in physical memory at the same time.
If you really worried about your perl code unintentionally kill the OS by using up all the available memory, you might want to read about OOM killer on Linux.
In reply to Re: How to tell if script sucks...memory
by badaiaqrandista
in thread How to tell if script sucks...memory
by jriggs420
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |