Jump to content
  • 0

[Dev Help] Question


Madboy

Question

Exception in thread "ThreadPoolExecutor-2" java.lang.OutOfMemoryError: GC overhe
ad limit exceeded
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler i
n thread "ScheduledThreadPool-15"

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler i
n thread "ThreadPoolExecutor-2"

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler i
n thread "ScheduledThreadPool-5"

java.lang.OutOfMemoryError: GC overhead limit exceeded
Exception in thread "ThreadPoolExecutor-8" Exception in thread "ThreadPoolExecut
or-1"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler i
n thread "ThreadPoolExecutor-1"
java.lang.OutOfMemoryError: GC overhead limit exceeded

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler i
n thread "ThreadPoolExecutor-8"

Someone can tell me why i got this error when i run gameserver?

Link to comment
Share on other sites

Recommended Posts

  • 0

Do you have any players ingame ?

Do you use geoengine on ?

What's your computer specs (only ram i don't care if it got 50 CPUs)

What's your startGameServer.bat/sh properties ?

Link to comment
Share on other sites

  • 0

Do you have any players ingame ?

Do you use geoengine on ?

What's your computer specs (only ram i don't care if it got 50 CPUs)

What's your startGameServer.bat/sh properties ?

No players connected

No geodata

8gb ram

And last i don't see there how to add more memory (.../properties)

Link to comment
Share on other sites

  • 0

The .bat/.sh is the shit you use to launch the server on. Edit it with notepad/notepad++, see RAM values and up them.

 

A basic value is 512m, 2g with geoengine on.

 

If RAM values on .sh/.bat are already that "big", then just change of pack, or revert your customs until it was ok, because it would mean you got a memory leak somewhere.

Link to comment
Share on other sites

  • 0


@echo off
:start
echo Starting L2s GameServer.
echo.

java -server -Dfile.encoding=UTF-8 -Xmx1G -cp config;./* l2p.gameserver.GameServer

REM Debug ...
REM java -Dfile.encoding=UTF-8 -cp config;./* -Xmx1G -Xnoclassgc -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=7456 l2s.gameserver.GameServer

if ERRORLEVEL 2 goto restart
if ERRORLEVEL 1 goto error
goto end
:restart
echo.
echo Server restarted ...
echo.
goto start
:error
echo.
echo Server terminated abnormaly ...
echo.
:end
echo.
echo Server terminated ...
echo.

pause

where?

Link to comment
Share on other sites

  • 0

Take this:

java -server -Dfile.encoding=UTF-8 -Xmx1G -cp config;./* l2p.gameserver.GameServer

An chage it for this:

java -Dfile.encoding=UTF-8 -Xmx1G -cp config;./* l2p.gameserver.GameServer

 

or add server to ur mysql folder and paste the files on it

Link to comment
Share on other sites

  • 0

same thing.:(

Fella ur OS is 32bits as i can imagine, so u need to edit the line to work with it.

java -Dfile.encoding=UTF-8 -Xmx1G -cp config;./* l2p.gameserver.GameServer

 

xmx means the Max Ram

Xms means the min Ram

 

so edit it to this and try

 

java -Dfile.encoding=UTF-8  -Xms512m -Xmx1024m -cp config;./* l2p.gameserver.GameServer

 

or

 

java -Dfile.encoding=UTF-8  -Xms1024m -Xmx1024m -cp config;./* l2p.gameserver.GameServer

 

^_^

Link to comment
Share on other sites

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.



  • Posts

    • Welcome to my store :  https://topestore.mysellix.io/fr/ 2015-2022 Aged Discord Account 2015 Discord Account : 50.99 $ 2016 Discord Account : 10$ 2017 Discord Account :3.99 $ 2018 Discord Account : 3.50$ 2019 Discord Account : 2.70 $ 2020 Discord Account :1.50$ 2021 Discord Account :0.99$ 2022 Discord Account :0.70$ Warranty :Lifetime Payment Methods : Crypto/ PayPal Contact Me On Discord Or Telegram Discord : @ultrasstore11 Telegram : https://t.me/ultrastore1 Welcome to my store :  https://topestore.mysellix.io/fr/ 2015-2022 Aged Discord Account 2015 Discord Account : 50.99 $ 2016 Discord Account : 10$ 2017 Discord Account :3.99 $ 2018 Discord Account : 3.50$ 2019 Discord Account : 2.70 $ 2020 Discord Account :1.50$ 2021 Discord Account :0.99$ 2022 Discord Account :0.70$ Warranty :Lifetime Payment Methods : Crypto/ PayPal Contact Me On Discord Or Telegram Discord : @ultrasstore11
    • L2 ArenaWar: Low Rate PvP Server with Free Buffs & Autofarm [PVP]⚔️ [Free]🆓 Classic Interlude with  3x XP rates! Free starter pack(no grade) to kickstart your adventure! Autofarm for convenient grinding! Free buffs to keep you fighting fit! (2 job buffs) No experience loss on death! (Except with Karma) Clear Karma system to keep things fair! ⚖️ Active community of 800-1k players! Join our Discord to learn more! >> Discord <<     Server website: https://l2arenawar.com/en/    
    • This is dedication! 2 years working on a problem. Congratulations!
    • You indeed have to save player position over Enterworld to properly clean it up later (if you don't, even trying to delete packet content would eventually keep it up), that's what we do with debug packet (which is a reusable Map of ExServerPrimitive packets) on aCis.   It doesn't solve the FPS stuttering - more you draw/delete lines, more your client becomes laggy. It's like if client wasn't deleting drawn points/lines properly, but instead simply hide them and redrawn content above.   If you got a solution, I would happy to integrate it.   You should check aCis#Player _debug packet integration, it allows very big amount of lines/points to be drawn, it is also reusable.   https://gitlab.com/Tryskell/acis_public/-/blob/master/aCis_gameserver/java/net/sf/l2j/gameserver/model/actor/Player.java?ref_type=heads https://gitlab.com/Tryskell/acis_public/-/blob/master/aCis_gameserver/java/net/sf/l2j/gameserver/network/clientpackets/EnterWorld.java?ref_type=heads  
    • we sell website templates, make websites to order. Great selection at very good prices. My contacts discord : advert1231 telegram : https://t.me/ggwpins  
  • Topics

×
×
  • Create New...