Toadwart
September 12th, 2007, 22:06
Have been playing around with createControl recently and noticed that it appears to be chewing through large chunks of memory and not releasing it.
Creating many stringcontrols (around 200) within a subwindow then calling destroy on each of them when that subwindow is closed.
Memory usage for the FG exe goes up by about 15MB each time the controls are created and doesn't shrink noticeably when they are destroyed.
Is there a potential problem here or will garbage collection eventually start releasing the memory?
Creating many stringcontrols (around 200) within a subwindow then calling destroy on each of them when that subwindow is closed.
Memory usage for the FG exe goes up by about 15MB each time the controls are created and doesn't shrink noticeably when they are destroyed.
Is there a potential problem here or will garbage collection eventually start releasing the memory?