I want my app to throw an MemoryError
when its usage goes over 1GB. I'm running in WSGI daemon mode.
I see 3 places the memory limit could be:
- apache.conf
- wsgi somewhere
- django configuration
but I can't find the right config options. In PHP you can do this with :
php_value memory_limit 1GB
in your apache.conf