I wrote a little bowling game in Java a while back.
It was one of my first games and was a bit of a learning experience.
Anyway, I got my hands on a Java Profiler the other day and I ran this little game through it.
I noticed that the memory heap keeps getting a little bigger as the game progresses. It started out using around 4MB then climbed to 6MB and eventually started to slow down at around 9MB after 30 mintues or so.
However, the heap still seems to be growing slowly as the game continues to run. Garbage Collection seems to be releasing some memory, but not as much as I expected.
Is there anything in particular that I should look for in my code that would explain why more memory is not being released?
Thanks,
Drew