4 ms·
Not really sure about the JVM's tuned memory usage but for web applications, you likely won't come near 800MB with Python. For example a Flask project that I w
by nickjj 11y ago
Not really sure about the JVM's tuned memory usage but for web applications, you likely won't come near 800MB with Python.
For example a Flask project that I worked on had about 30 top level packages, and the entire web server used 55MB of RAM running with 1 gunicorn worker.
- notzorbo3 11y agoIt's Cherrypy that sucks up memory like there's no tomorrow. Not sure why. Thing is, you can run the JVM on a lot less than the default settings. JVM isn't nearly as memory hungry as people think. It's just all the enterprise crap you get with frameworks such as jboss makes it bloated. But the same thing is true for Python. Try running OpenERP on anything less than 10gb.