Hi Erel,
Yes eventually I get a out of memory exception. I can see that the memory allocated by the program steadily increases. The gccollect method helps but the allocated memory still increases.
I have three bitmaps objects that I continually use in the program. The bitmap continually get changed. At the moment I call new each time I need to change the bitmaps. The bitmap is "on" the screen when new is called. I don't create any additional bitmap objects just reuse the three I already have.
So, if I follow, because the bitmaps are being used/referenced in the program a dispose and addobject is needed to free all memory.
Is this advice for all other objects as well?
Thanks