I actually know exactly what is "eating" my heap...and when I say "eating" I mean that the game is losing heap space every game cycle and when I switch rooms the heap does not reset as it should. Some heap is simply MIA!! Restarting the game restores the heap, but that would probably be expected.
Here is what I am doing. I have a region that I am accessing. In the region's doit method I have this:
(= myEvent Event:new(evNULL))
The above code is what is "eating" the heap.
I am then using the "myEvent" x and y values to have certain actions happen when the cursor is simply in a certain area, so there are two probable ways to solve my problem...either determine why the code is leaking heap or use a different way to achieve the same goal...either way I would be happy with
However the myEvent code (which I found in Cloudee1's aquarius game) for some reason munches away on heap space. I assume it wasn't a problem in Cloudee1's game as I never had the heap space run out...might it have something to do with my using it in a region??