I just downloaded a new fresh version of the Matrix source on my VPS and it showed up with an error when I run it. It says "Error occured during initialization of VM. Could not reserve enough space for object heap."
Printable View
I just downloaded a new fresh version of the Matrix source on my VPS and it showed up with an error when I run it. It says "Error occured during initialization of VM. Could not reserve enough space for object heap."
Show me your run.bat in notepad, I can fix this
Quote:
@echo off
@title RUN MATRIX
java -XX:-OmitStackTraceInFastThrow -server -Xms2048m -Xmx4096m -cp bin;data/libs/netty-3.5.2.Final.jar;data/libs/FileStore.jar com.rs.Launcher false false true
pause
Thank you so much.
It means that the the server is too big for your pc you need to edit the run on your server then lower Xms4096 to Xms512 and Xmx4096 to Xmx1024 and it should start working normally.
try thisCode:@echo off
@title RUN MATRIX
java -XX:-OmitStackTraceInFastThrow -server -Xms1024m -cp bin;data/libs/netty-3.5.2.Final.jar;data/libs/FileStore.jar com.rs.Launcher false false true
pause
It worked! Thanks! Now it shows a different error though.
Not sure what to do. Cache problem?Quote:
[Launcher] Initing Cache...
Exception in thread "main" java.lang.RuntimeException: MISSING OPCODE 144 FOR IT
EM 0
at com.rs.cache.loaders.ItemDefinitions.readValues(It emDefinitions.java:
550)
at com.rs.cache.loaders.ItemDefinitions.readOpcodeVal ues(ItemDefinitions
.java:562)
at com.rs.cache.loaders.ItemDefinitions.loadItemDefin itions(ItemDefiniti
ons.java:132)
at com.rs.cache.loaders.ItemDefinitions.<init>(ItemDe finitions.java:119)
at com.rs.cache.loaders.ItemDefinitions.getItemDefini tions(ItemDefinitio
ns.java:106)
at com.rs.cache.loaders.ItemsEquipIds.init(ItemsEquip Ids.java:15)
at com.rs.Launcher.main(Launcher.java:63)
Press any key to continue . . .
what does your run.bat look like now
I think there are some cache files missing in the folder "cache" in "Data".
I downloaded it right off the Matrix release post. Can somebody link me to the cache download?