Daemon using dbus to send messages seems to use lots of memory without release them.
Croach
croach at gmail.com
Mon Dec 24 09:50:59 PST 2012
Hi,
I have do porting dbus-1.6.4 to a embedded system, and I find that the
memory of the daemon using dbus grows till the daemon runs out of the
memory.
I have put the following sample program to a function and run it for
10000 times with Valgrind.
http://dbus.freedesktop.org/doc/dbus-tutorial.html#sample-program-1
The memory grows up and valgrind reports that "still reachable" with some bytes.
I know that the meaning of "still reachable" is not memory leak, but
the program uses lots of memory.
So I would like to know what have I missed anything about running the
sample program or should I use any function to release the memory
after using g_object_unref()?
Thanks for any help.
Croach Chang
More information about the dbus
mailing list