Hi, "R O N A L D D U C K" <[EMAIL PROTECTED]> writes:
> In course of developing my application I found something strange in the > gtk+-directfb. > > Environment > ~~~~~~~~~~~ > 1) gtk+-directfb-2.0.5 > 2) DirectFB-0.9.12 > 3) Pentium III > 4) glib-2.0 > 5) 128 MB RAM etc > 6) RedHat Linux 7.1 > 7) VISA Frame buffer > 8) Intel i810 Chipset > > I wrote a small application which was having 10 Buttons, If you press any > one it will pop up hai to you. I connected another PC through the serial > shell, so that I can see the memory usage and other activities of this > application. I ran my application in the machine and ran 'top' (Program to > view the process and memory status) on the serial shell (Other machine), I > was surprised to the see the memory usage when I just pressed 'TAB' key > continuously. I have not even pressed the button, I was simply pressing TAB > key 1 time per second. (I just pressed the TAB keys to find out wheather > the key traversing was ok) > > The memory was getting increased by 16 bytes or more for every four TAB key > press. I also found that, even you use arrow keys to traverse the same > behaviors was happening. I wouldn't be surprised if there are some memleaks left in GTK+-DirectFB since I haven't used any memory leak detectors on it for a long time. I'd suggest you try valgrind to find the cause of the leak or just audit the code carefully. > Please address this issue. And help me I will if I find the time but I'd also be happy if you located the problem and sent a patch to fix it. Salut, Sven -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-users" as subject.
