Comment by mrep
Memory leaks in a python web server? Did you try just accepting the leaks and restarting the web server every x hours? That is what my old team did with our python web server.
I used to have to restart it all the time but I never thought to just set it to automatically reboot. I should have known that most computer problems can be fixed if you switch them off and on again.