The memory of the SUB process goes up.

If I remove the getline() call and the SUB process keeps up, the RAM stays still for both. Those programs compile with gcc pretty easily, if you feel like trying it out. Maybe my Ubuntu is just messed up.

I assume since its CONFLATE is on, maybe the PUB doesn't queue it, but SUB still does? In that case, I also would assume that replacing the old message with the new one would free the memory held by the old message.


On 06/20/2018 01:38 PM, James Harvey wrote:
When you say “the system memory skyrockets” are you talking about the memory 
used by the SUB process or PUB process?

I would expect the memory of the PUB process to increase as it will be queueing 
messages.

On 20 Jun 2018, at 21:02, Kevin Wang <[email protected]> wrote:

the system memory skyrockets,
_______________________________________________
zeromq-dev mailing list
[email protected]
https://lists.zeromq.org/mailman/listinfo/zeromq-dev

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

Reply via email to