[Tutor] How to debug a memory leak in a wsgi application?

Alan Gauld alan.gauld at yahoo.co.uk
Wed Dec 6 10:00:33 EST 2017


On 06/12/17 09:21, Etienne Robillard wrote:
> Hi
> 
> I think my wsgi application is leaking and I would like to debug it.
> 
> What is the best way to profile memory usage in a running wsgi app?

This is probably a bit advanced for the tutor list, you might
get a better response on the main Python list.

But to get a sensible answer you need to provide more data:
What OS and Python version?
What toolset/framework are you using?
What measurements lead you to suspect a memory leak?


-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos




More information about the Tutor mailing list