Jump to content
  • 0

[Guide]GameServerError


Question

Posted

If you dont have mutch memory on your pc and you wanna run your server there you might have this problem:

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

 

Πιέστε ένα πλήκτρο για συνέχεια. . . ##Sr For Greek... This means Push a button to continue...

 

------------------------------------------------------------------------------------------------------------------------------------

To fix this you must open your StartGameServer.Bat

Then you see this :

##This is an example from another server...##

@echo off

title L2J

:start

echo Starting L2J Game Server.

echo.

REM -------------------------------------

REM Default parameters for a basic server.

java -Xmx1048m -cp bsf.jar;bsh-2.0b4.jar;commons-logging-1.1.jar;mmocore.jar;javolution.jar;c3p0-0.9.1.2.jar;mysql-connector-java-5.0.7-bin.jar;l2jserver.jar;jython.jar net.sf.l2j.gameserver.GameServer

REM

REM If you have a big server and lots of memory, you could experiment for example with

REM java -server -Xmn1048m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts

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

 

The orange line is wen your server ''calls'' java... in the begining you see this :

-Xmx1048m

This is how mutch memory will the gameserver use ... if it is not enough the gameserver has the problem...

--------------------------------------------------------------------------------------------------------------------------------

Dont spamm...

9 answers to this question

Recommended Posts

  • 0
Posted

Really strange guide,

 

If you dont have a good pc and you wanna run your server there you might have this problem:

 

lol?

 

U can get this error even with good pc, and the only sollutions is to inceresce memory for GS or for example virtual memory.

 

So your statement is not logical.

  • 0
Posted

Some of the common errors (like this one, database connection, etc) should be pinned off.

 

Have you already checked problems 4 years ago in this section (I did for fun, reading "Interlude new version" made me smile) ? This is all time the same problems.

 

That will avoid problems AND those sort of guides.

  • 0
Posted

Its supposed to be guide at begining (it was posted in proper section) but as we can see someone moved it here..

 

- don't know why, but anyway - Topic Locked.

Guest
This topic is now closed to further replies.


  • Posts

    • Hey MaxCheaters! 👋 Introducing L2Soon.com — a free international platform for Lineage 2 server announcements.   Why L2Soon? No more searching through dozens of forums and Discord servers. All new L2 server openings are in one place — updated daily, with real player online counts so you always know where people actually play.   Features: 🔔 Telegram Bot (@l2Soon_bot) — alerts 24h & 1h before server launch 📅 Accurate launch times — in your local timezone ⚔️ All chronicles — Interlude, High Five, GoD, Classic, Essence, Grand Crusade and more 🎯 Filters — by chronicle, rates (x1–x1000+) and server type (PvP, RvR, GvE, Craft, Low Rate...) ⭐ VIP servers — verified projects pinned at the top 🌍 Multi-language — EN, UK, RU, PT   Listing is completely FREE. 🔗 https://l2soon.com/en Feedback welcome — drop a comment or contact us via Telegram @l2Soon_bot
    • Download Lobby u need island for lobby Download Crow Island  
    • Website: https://l2elixir.org/ Discord: https://discord.gg/5ydPHvhbxs    
    • L2-LORENA x100 MID RATE   Interlude Nostalgia Meets Modern Gameplay   OFFICIAL OPENING:  April 4 (Saturday)  19:00 UTC+1 ⸻  MAIN INFORMATION  Adena: x5  Drop: x10  Spoil: x10  Raid Boss: x10  Seal Stones: x2  Quests: x10 ⸻  FEATURES  GM Shop up to B-Grade  Full Buffer  Premium System (x2 bonuses)  AutoFarm – FREE for everyone ⸻  SERVER CONCEPT  Classic Interlude nostalgia  Enhanced with modern interface & mechanics  Balanced PvP & PvE gameplay  Active development & custom features ⸻  WHY JOIN L2-LORENA?  No Pay-to-Win  Smooth gameplay & stable server  Competitive PvP environment  Friendly & active community ⸻  JOIN US NOW L2-LORENA 100X <<< LINK Discord: https://discord.gg/TYZ88Tgx4b  Facebook: https://www.facebook.com/share/18kwbkaYZY/?mibextid=wwXIfr   L2-LORENA Link << Discord: https://discord.gg/TYZ88Tgx4b  Facebook: https://www.facebook.com/share/18kwbkaYZY/?mibextid=wwXIfr
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..