WSGI Middleware version of the CherryPy memory leak debugger
Dozer is a WSGI middleware version of Robert Brewer’s Dowser CherryPy tool that displays information as collected by the gc module to assist in tracking down memory leaks.
from dozer import Dozer # my_wsgi_app is a WSGI application wsgi_app = Dozer(my_wsgi_app)
Assuming you’re serving your application on the localhost at port 5000, you can then load up http://localhost:5000/_dozer/index to view the gc info.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.