Asked By
myron522
40 points
N/A
Posted on - 07/25/2011
I recently downloaded a java application (*.jar) from Gameloft. (Asphalt 4 Elite) However, when I tired playing the game, the game became unresponsive and I got an error saying, "java/lang out of memory error".
This gets very frustrating at times especially when you are about to beat your top score 😛
Please help if this can be resolved or the problem lies in the software itself.
Java Error On Nokia 2700 classic
-
Increase the heap space. Java uses 64 MB heap memory if you don't specify a higher maximum. Start your application like this:
-
java Xmx-128m MyClass
-
To have 128 Mbyte.
-
It look like you start the application within an Ant( Ant is a Java library) build. I would separate, building and execution. Let Ant create a batch file, which will be used to start the application.
-
set ANT_OPTS=-Xms512m -Xmx512m
Now you may have to increase heap space for Ant itself.
Java Error On Nokia 2700 classic
Hi,
Just visit your OVI stores, from your mobile GPRS. You will get all the applications over there, which are compatible on Nokia 2700.
Thanks