Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mosquitto-dev] memory leak?

Title: RE: [mosquitto-dev] memory leak?

Hi all,


I found my test-setup error. I was calling the mosquitto_publish() function too fast without checking the publish callback.


Regards,

Chris

 
-----Original message-----
From: Christoph Rotter <cr@xxxxxxxxxxxx>
Sent: Thursday 20th October 2016 23:22
To: mosquitto-dev@xxxxxxxxxxx
Subject: [mosquitto-dev] memory leak?

Hi all,

I am using the mosquitto c sourcecode (1.4.10) in my raspberry project (Raspbian Jessy). During my tests I found out, that there is a memory leak in my system after publishing MQTT messages.

In my test setup I’m calling the mosquitto_publish() function as fast as possible (45 Characters, qos 2, retain false). The broker is receiving the messages correctly. I check the memory of the raspberry from time to time with calling “cat /proc/meminfo”: MemFree is decreasing, Active(anon) is increasing.

Have I done something wrong? Is there a way to free the memory that the mosquitto library allocated?

Thanks and Regards,

Chris

_______________________________________________
mosquitto-dev mailing list
mosquitto-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/mosquitto-dev

Back to the top