gtk_widget_destroy not freeing memory



Hi All,

When i destroy a window using gtk_widget_destroy, memory is not getting de allocated. I have a main window which creates sub windows. While returning back to main window from sub window, i destroy the sub window. I observed that memory increased gradually by 2% when a sub window is created and memory did not decrease after destroying it. After several opening and closing of windows, OS killed the process saying "out of memory".

Am i not using the correct way to destroy a window and its children?

I use GTK+ 2.12.2 on MontaVista Linux on Davinci platform.


--
Regards,
Harinandan S

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]