Xmx512m
change that to anything lower, assuming you have a run batch file, this represents the amount of Physical memory used
|
Am i right in thinking the vps i have ordered hasn't got enough memory to run the server as it works perfectly on my computer when running but when i try and run on the vps it gets to loading map:
Then comes up with this:
INFO: Loading map...
Exception in thread "ServerEngine" java.lang.OutOfMemoryError: Java heap space
at com.rs2.cache.map.LandscapeParser.parse(LandscapeP arser.java:92)
at com.rs2.cache.object.ObjectLoader.load(ObjectLoade r.java:60)
at com.rs2.Server.run(Server.java:170)
at java.lang.Thread.run(Unknown Source)
Everything is the exact same as it is run on my computer, has anyone come across this before? And found a fix?
It's runesource.
Use -Xms to set the standard allocated memory (like: -Xms200m).
Use -Xmx to set the maximum allocated memory (like -Xmx400m).
The maximum must be greater than the standard and the standard cannot be too low (the "too low threshold" is dependent on your program).
This would be to do with your run.bat it looks like your running out of ram or haven't assigned enough ram.
Paste your run.bat
Regards,
Smoke
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |