Jump to content

Recommended Posts

Posted

As i saw the most off you buying a machine with 8 or 16gb ram but why?

 

this shit here -> java -Xmx512m -cp ./libs/*; net.sf.l2j.gameserver.GameServer

 

you must make it :

 

if you have 4gb ram then -> java -Xmx2048m -cp ./libs/*; net.sf.l2j.gameserver.GameServer

 

if you have 8gb ram then -> java -Xmx4096m -cp ./libs/*; net.sf.l2j.gameserver.GameServer

 

if you have 16 gb ram then -> java -Xmx8192m -cp ./libs/*; net.sf.l2j.gameserver.GameServer

 

don't let it 512 you can "play" with it when you have 4 - 8 or 16 gb ram omg at least learn this :).

Guest Elfocrash
Posted

i am not surprised.

he means you explain nothing.

Posted

I Have understand :O

i know... elfo he can read the green words... elfo this is a explanation : if you have 4gb ram then -> java -Xmx>>>>>2048<<<<<<<<<<m -cp ./libs/*; net.sf.l2j.gameserver.GameServer i should add more arrows to understand it?

 

 

Posted

i am not surprised.

 

I'm not surprised to be honest that even you didn't understood what you have shared.

Your share is completely incomplete !!!

 

Read about those variables by searching "Garbage Collector" on google and give us some more information. I'm sure that by searching like this you will find more information.

 

Thanks for sharing it with us by the way, do not forget that you are on wrong section.

Posted

@echo off
title aCis gameserver console
:start
REM -------------------------------------
REM Default parameters for a basic server.
java -Xmx512m -cp ./libs/*; 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 -Xmx1536m -Xms1024m -Xmn512m -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 have restarted, please wait.
echo.
goto start
:error
echo.
echo Server have terminated abnormaly.
echo.
:end
echo.
echo Server terminated.
echo.
pause

 

Only this?

REM -------------------------------------
REM Default parameters for a basic server.
java -Xmx512m -cp ./libs/*; 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 -Xmx1536m -Xms1024m -Xmn512m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts
REM -------------------------------------

 

Xmx ? Xms ? Xmn? PermSize ? SurvivorRadio ?

REM java -server -Xmx1536m -Xms1024m -Xmn512m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts

 

Also if you mysql isnt configurated for maximum forget the 512 or 1024 2048 or more

 

i Agree with pipiou21

 

I'm not surprised to be honest that even you didn't understood what you have shared.

Your share is completely incomplete !!!

 

Read about those variables by searching "Garbage Collector" on google and give us some more information. I'm sure that by searching like this you will find more information.

 

Thanks for sharing it with us by the way, do not forget that you are on wrong section.

 

 

  • 1 month later...

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
Reply to this topic...

×   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...