Page 1 of 1
GS problem
Posted: Sat Dec 05, 2009 12:23 pm
by pokiokio
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision
Number: 6775
L2JDP Revision
Number: 6775
I've just installed Kaspersky Internet security and I tried starting the GS but I get this:
"Starting L2J Game Server.
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
Server terminated abnormaly
server terminated
Πιέστε ένα πλήκτρο για συνέχεια. . .
"
I've set startgameserver.bat to trusted on Kaspersky and I can run loginserver properly.
My RAM is 4GB and 1,95 is used.
Re: GS problem
Posted: Sat Dec 05, 2009 2:01 pm
by pokiokio
Even if I disable Kaspersky I can't load the GS :S Please help
P.S.: I've searched but nothing...
Re: GS problem
Posted: Sat Dec 05, 2009 2:06 pm
by justplay
Imho, looks like there is no enough memory for Java VM... Try to unload something from your memory befor starting GS or reduce memory allocation in GS .bat file:
REM Default parameters for a basic server.
java -Xmx1024m -cp ./../libs/*;l2jserver.jar net.sf.l2j.gameserver.GameServer
change to:
REM Default parameters for a basic server.
java -Xmx768m -cp ./../libs/*;l2jserver.jar net.sf.l2j.gameserver.GameServer
for example..
Re: GS problem
Posted: Sat Dec 05, 2009 2:09 pm
by pokiokio
Hmm...where do I go to change that? :S
Re: GS problem
Posted: Sat Dec 05, 2009 2:17 pm
by pokiokio
Ahh got it!
Re: GS problem
Posted: Tue Mar 03, 2015 7:48 am
by malahie
i Got onother Error its like pokiokio but its not from any antiviruss, the error its:
Starting AuthServer.
Error occurred during initialization of VM
java.lang.NoSuchMethodError: java.lang.ClassLoader.getClassLoader(Ljava/lang/Cla
ss;)Ljava/lang/ClassLoader;
at java.lang.Class.forName(Unknown Source)
at java.net.URL.getURLStreamHandler(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at sun.net.www.ParseUtil.fileToEncodedURL(Unknown Source)
at sun.misc.Launcher.getFileURL(Unknown Source)
at sun.misc.Launcher$ExtClassLoader.getExtURLs(Unknown Source)
at sun.misc.Launcher$ExtClassLoader.<init>(Unknown Source)
at sun.misc.Launcher$ExtClassLoader$1.run(Unknown Source)
at sun.misc.Launcher$ExtClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.misc.Launcher$ExtClassLoader.getExtClassLoader(Unknown Source)
at sun.misc.Launcher.<init>(Unknown Source)
at sun.misc.Launcher.<clinit>(Unknown Source)
at java.lang.ClassLoader.initSystemClassLoader(Unknown Source)
at java.lang.ClassLoader.getSystemClassLoader(Unknown Source)
Server terminated abnormaly ...
i have Java JDK 1.7.0_60 and jave JRE 7kit.MySQL 5.1,Windows 7(64 bit)
can u say me from where can be please?and what should do?
Thanks!
Re: GS problem
Posted: Wed Mar 04, 2015 2:52 am
by Zoey76
Most L2J versions use Java 8.