KONTRA Gergely wrote:> Attached is a *very* simple app to test wxwindows'' memory
management.
Hi,
I just tried the sample you sent to the list about a month ago, and I
can''t see any big memory leaks. Perhaps it is a difference between
wxWindows under MS Windows and under Linux (which I am using)?
I even wrote a program that just kept calling Bitmap.new to load a large
PNG image, and not doing anything with the resulting object. It also did
not leak enough memory for me to detect. Memory use went up during the
load, but went back down almost immediately.
I am about to work on wxRuby memory handling, and it would be very
helpful if I had a test case that leaked a lot of memory. I really
expected the bitmap create loop to leak badly. If you have a leaking
program, or can think of one, please let me know.
Thanks,
Kevin