Skip to content

Question !!

Featured Replies

I have a dedicated (really dedicated. Not VPS) with the following configurations: 2x Intel Xeon L5420, 16GB RAM, HD: 2X 1Tb, Traffic: 10TB, Usable IP: 1 or 5 Free, Up Link: 100Mb, UpPort: 1000Mb, Anti-DDOS Protection, Windows Server 2012.

 

I plan to run a High Five (H5) L2JSunrise server.

My question is: How should I allocate and configure my memory for gameserver to support as many players as possible?

and how many online players will it support without lag or crashes ??

Note: I will use Full GEODATA

 

here is my GameServer.bat settings:

@echo off
title Game Server Console
color 0B
:start
echo Starting L2J Game Server.
echo.

java -server -Dfile.encoding=UTF-8 -Xmx3G -cp config/xml;./../libs/*;core.jar l2r.gameserver.GameServer

REM NOTE: If you have a powerful machine, you could modify/add some extra parameters for performance, like:
REM -Xms1536m
REM -Xmx3072m
REM -XX:+AggressiveOpts
REM Use this parameters carefully, some of them could cause abnormal behavior, deadlocks, etc.
REM More info here: http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html

if ERRORLEVEL 2 goto restart
if ERRORLEVEL 1 goto error
goto end

:restart
echo.
echo Admin Restarted Game Server.
echo.
goto start

:error
echo.
echo Game Server Terminated Abnormally!
echo.

:end
echo.
echo Game Server Terminated.
echo.
pause

Help  me !!

  • Author
5 hours ago, Contessina* said:

Do not use xeon cores for l2

Why not?

  • Author
10 hours ago, Rootware said:

-Xmx6G enough.

why only 6?
could stand how many players online without lag?

Shouldn't I use half? = 8?

1 hour ago, HARDECORE said:

why only 6?
could stand how many players online without lag?

Shouldn't I use half? = 8?

 

I doubt what you find enough people for overflow this limits even. In theory 6G for 5,000 players not enough, but this online  fantastical at this moment.

Kinda sad thing is, it's HDD, not ssd or even better nvme.

6G is more than enough, you can even set 8G. Doesn't really matter, I guess. Eventually there may be slight difference on GC (garbage collector) cycle. 

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.