I have developed 2 J2ME games. I have Nokia 6300 & Sony Ericsson w910i for testing the games. Both games work very fine in Sony Ericsson but on the Nokia 6300 throws OutOfMemoryError
.
I have 5 screens , New game , Highscore , settings , Help and Exit, which are all GameCanvas
subclasses.
In the Menu screen I have shown all these 5 screen names as buttons using TileLayer
.
I have run my game in a Thread
. When I quit the game I display the Menu screen. There it shows OutOfMemoryError
.
Please can anyone help me remove the errors from the game?