Question:

Can some1 please help me with java memory

by  |  earlier

0 LIKES UnLike

hi guys i play unscape.. it is a really good remake of runescape taht is virus free and does not take your password you can sign up at....

http://unscape.ben-corbett.com

but now since ive been playing my java memory is low and i get this error..............java.lang.OutOfMemory... Java heap space

.................

can some1 please help? 20 points

 Tags:

   Report

1 ANSWERS


  1. Any Java application run inside a Java Virtual Machine. For any JVM you can specify a different amount of RAM to use.

    I don't know this game but in any case you have to find where is the file.bat or file.cmd who start the application (maybe c:\program files\unscape\) open it (don't double click) with notepad and modify it.

    You will find at the end of the script a line like

    java -Xms32m -Xmx64m -jar unscape.jar

    Or similar, for your problem it's enough to add or modify the Xms and Xmx options, that are the minimum and maximum size of the JVM memory (heap size) you want to set.

    Don't exagerate!!! Don't waste your PC RAM for nothing! I would set it to -Xms128m and -Xmx256m maximum and raise it up if it'll be not enough.

    If you will still suffer memory problem I would contact the game owner to ask help.

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.