[Kde-bindings] [Bug 108650] memory leak in qtruby? (Qt::Socket)

Caleb Tennis caleb at gentoo.org
Wed Jul 6 15:34:04 UTC 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=108650         




------- Additional Comments From caleb gentoo org  2005-07-06 17:34 -------
If I disconnect my readyRead() signal from the MessageReceivedSlot, and set my socket's readBufferSize to a maximum of 500, and run my test, the program memory does not grow.  In other words, if I don't read data out of the socket buffer and let it fill up, the memory consumption stops.  However, if I read the data out of the socket, the memory goes up.

As an alternative test, I could use the readBlock method, but it takes a char * argument and I haven't figured out yet what to pass to it to get the data.  A  String doesn't seem to work nor does a Qt::ByteArray.



More information about the Kde-bindings mailing list