GS problem

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
pokiokio
Posts: 259
Joined: Wed Mar 04, 2009 8:08 pm

GS problem

Post 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.
Image
Prolly the youngest L2j user :P
User avatar
pokiokio
Posts: 259
Joined: Wed Mar 04, 2009 8:08 pm

Re: GS problem

Post by pokiokio »

Even if I disable Kaspersky I can't load the GS :S Please help :(

P.S.: I've searched but nothing...
Image
Prolly the youngest L2j user :P
justplay
Posts: 16
Joined: Fri Jun 29, 2007 4:42 pm
Location: Russia

Re: GS problem

Post 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..
User avatar
pokiokio
Posts: 259
Joined: Wed Mar 04, 2009 8:08 pm

Re: GS problem

Post by pokiokio »

Hmm...where do I go to change that? :S
Image
Prolly the youngest L2j user :P
User avatar
pokiokio
Posts: 259
Joined: Wed Mar 04, 2009 8:08 pm

Re: GS problem

Post by pokiokio »

Ahh got it!
Image
Prolly the youngest L2j user :P
malahie
Posts: 1
Joined: Fri May 16, 2014 11:51 pm

Re: GS problem

Post 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!
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7005
Joined: Tue Aug 11, 2009 3:36 am

Re: GS problem

Post by Zoey76 »

Most L2J versions use Java 8.
Powered by Eclipse 4.30 🌌 | Eclipse Temurin 21 ☕ | MariaDB 11.2.2 🗃️ | L2J Server 2.6.3.0 - High Five 🚀

🔗 Join our Discord! 🎮💬
Post Reply