The 'pyrasite' module on pypi can help you debug memory problems by dumping you a live report of the count and sizes of all objects in memory. It also has a lot of other cool introspection features. Just look for the one that's growing without limit. Here's a sample of the GUI:
http://readthedocs.org/docs/pyrasite/en/latest/GUI.html -Michel On Sun, Apr 22, 2012 at 12:23 PM, Gregory Taylor <[email protected]> wrote: > Hello, > > It looks like I'm gradually leaking memory, but I'm having the worse > time finding it. Here's the module. It's usin gevent_zeromq and > geventwebsocket, though I've got the same issue happening in another > similar project without geventwebsocket: > > https://github.com/dliverman/eve-market-ping-map/blob/master/ws_server.py > > I'm guessing I've got something wrong with the way I'm using the > sockets in a greenlet, leading to the memory accumulation. > > Any ideas? > > Thanks in advance, > > Greg > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
