Open LonelyWalker78 opened 6 years ago
Hi, Did you get any resolution for the memory issue? We were also facing memory issue when we use server.publish function.
@remya-jose I haven't solved it. But this memory issue may be due to publishing too much message. After I cut down the frequency of publishing messages, I never had this problem again.
Thank you LonelyWalker78. We too slightly modified our architecture and avoided sever.publish. Now the memory issue is fixed.
I have the same problem, consuming more memory. Could you help me for resolving the issue?
@srinivasnamani2010 In our case, the server.publish method caused memory issue. Hence, we had modified the architecture to use client.publish and client.subscribe and removed server.publish completely.
@buffautomation4Gad
We are using java mqtt client to publish the message to mosca server.
Is the change related to the client application or mosca server.
Can you please suggest the exact change is where? We will update as per it
@srinivasnamani2010 We had used server.publish method inside our Mosca server to forward the incoming requests. This created memory issue once the load reached 1000s of concurrent messages. We didn't solve the issue, but we re-architect the application; in stead of forwarding the messages using server.publish, we used wildcard topic subscription at the client side.
I don't know about your architecture/application, so I won't be able to suggest changes.
Hi there, First off, thank you for all the contributors and maintainers of this great package.
Memory overflow occurs after the program has been running for a while
nohup.out
mqtt.js