Hi everyone,

I’m implementing a long-running PUB/SUB server using 0mq. It’s accumulating a 
lot of memory over time (as users connect) and doesn’t release it after 
disconnection.

Is there a best-practice around this? The server is running in Python/Flask and 
is very simple, see here: 
https://github.com/typeworld/messagequeue-docker/blob/main/pub.py

Has anyone tried Python’s `gc` module (garbage collection) to any success?

Thank you
Jan


--

Yanone
Dipl.-Designer,
Master of Design in Type & Media
https://yanone.de
Twitter/Instagram: @yanone
+49 176 24023268 (Germany)

Type.World project:
https://type.world

Crowd funding on:
https://www.patreon.com/typeWorld


_______________________________________________
zeromq-dev mailing list
[email protected]
https://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to