[zeromq-dev] Memory leak help
Gregory Taylor
gtaylor at gc-taylor.com
Mon Apr 23 03:26:03 CEST 2012
That's very neat. Thanks for pointing this out!
On Sun, Apr 22, 2012 at 9:21 PM, Michel Pelletier
<pelletier.michel at gmail.com> wrote:
> 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 <gtaylor at gc-taylor.com> 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
>> zeromq-dev at lists.zeromq.org
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
More information about the zeromq-dev
mailing list