Jump to content
  • 0

Gameserver Memory


Question

Posted

Hello guys i want to ask about how can i increase the memory usage of the game server.

I have 4 Gb Ram on my pc,here the startGameServer.bat settings.

REM -------------------------------------
REM Default parameters for a basic server.
java -Xmn128m -Xms512m -Xmx1024m -server com.l2jfree.gameserver.GameServer
REM
REM For debug purpose (for devs), use this :
REM java -Xmx512m -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=7456 com.l2jfree.gameserver.GameServer 
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 -------------------------------------

when i m changing the xms and xmx to 2049 i get a message for cheap memory...

Is newbie problem but i need some help. ;)

 

Thanks for your time

Dragonswords.

6 answers to this question

Recommended Posts

  • 0
Posted

Lol nik stop saying bullshits :D

Im with 2003 server and i setted it to 6gb and it works fine..

You got to put the exact memory.2GB is not 2049.. its 2048 xD

Ow and btw ,you made wrong lines..

You should edit this :

java -Xmn128m -Xms512m -Xmx1024m -server com.l2jfree.gameserver.GameServer

 

ps : Fix your title.. put a prefix [Help]

  • 0
Posted

Lol nik stop saying bullshits :D

Im with 2003 server and i setted it to 6gb and it works fine..

You got to put the exact memory.2GB is not 2049.. its 2048 xD

Ow and btw ,you made wrong lines..

You should edit this :

java -Xmn128m -Xms512m -Xmx1024m -server com.l2jfree.gameserver.GameServer

 

ps : Fix your title.. put a prefix [Help]

 

actually its not bullshit...

32bit java cant hold more heap size than 1,5gb thats why he said that...64bit can go over 1,5gb and btw why change xms settings...first maybe you need to read about xmx xms and xmn values.

  • 0
Posted

leeroy, afaik, on 32bit windows, java can only support 1536MB RAM... you are probably mistaking 64 bit with 32 bit when u done the 6GB thingie...

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