Jump to content
  • 0

[HELP]L2j gameserver error


Question

Guest Elfocrash
Posted

I try to open the gameserver .bat file but i got this error.Help me please

 

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

Press any key to continue . . .

8 answers to this question

Recommended Posts

  • 0
Guest Elfocrash
Posted

my pc has 6 GB RAM.it is not old at all

  • 0
Guest Elfocrash
Posted

Show your gameserver.bat(right click>edit).

 

@echo off
title Game Server Console
:start
echo Starting L2J Game Server.
echo.
REM -------------------------------------
REM Default parameters for a basic server.
java -Xmx1536m -cp ./../libs/*;l2inccore.jar org.inc.L2GameServer
REM
REM If you have a big server and lots of memory, you could experiment for example with
REM java -server -Xmx1536m -Xms1024m -Xmn512m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts,
REM If you are having troubles on server shutdown (saving data),
REM add this to startup paramethers: -Djava.util.logging.manager=org.inc.L2LogManager. Example:
REM java -Djava.util.logging.manager=org.inc.util.L2LogManager -Xmx1024m -cp ./../libs/*;l2jserver.jar org.inc.L2GameServer
REM -------------------------------------
if ERRORLEVEL 2 goto restart
if ERRORLEVEL 1 goto error
goto end
:restart
echo.
echo Admin Restart ...
echo.
goto start
:error
echo.
echo Server terminated abnormaly
echo.
:end
echo.
echo server terminated
echo.
pause

  • 0
Guest Elfocrash
Posted

Hmm, i don't see sth strange there... L2J Pack?

 

yeah

  • 0
Guest Elfocrash
Posted

Client?

 

I ficed it changed

REM Default parameters for a basic server.

java -Xmx1536m -cp ./../libs/*;l2inccore.jar org.inc.L2GameServer

 

to

 

REM Default parameters for a basic server.

java -Xmx714m -cp ./../libs/*;l2inccore.jar org.inc.L2GameServer

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...