I want my application to MemoryError when its use exceeds 1 GB. I work in the WSGI daemon mode.
I see 3 places where there may be a memory limit:
- apache.conf
- wsgi somewhere
- Django configuration
but I can not find the correct configuration options. In PHP, you can do this with:
php_value memory_limit 1GB
in apache.conf
memory-management django memory apache mod-wsgi
Paul tarjan
source share