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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • 🧵 [FREE RELEASE] L2Updater + AntiCheat + Build System + Full Website ⚔️ Presentation After a long time of development, testing, and improvements, I decided to release this project for free to the community. This is a complete package for anyone who wants to build a Lineage II server with a professional-level structure. The idea was not just to create a simple tool, but a full ecosystem that covers everything a modern server needs. 🚀 What’s Included This release contains: ✔ Modern Launcher (Windows) ✔ Smart Update System (FULL + PATCH) ✔ AntiCheat protection (client-side DLL) ✔ Build System for generating updates ✔ Complete Website (register + ranking + pages) Everything is integrated to work together. 🧠 Project Concept The goal of this project is simple: Instead of using outdated launchers or fragmented systems, this package provides: ✔ Organization ✔ Performance ✔ Security ✔ Scalability 🔄 Update System The updater is based on a manifest system, where: ✔ The client checks versions automatically ✔ Only changed files are downloaded (patch system) ✔ Full client is downloaded if needed ✔ Files are validated using hash This results in: Faster updates Lower bandwidth usage Better user experience 🛡️ AntiCheat System The AntiCheat included in this package works directly on the client side. It provides: ✔ Protection against modified clients ✔ Basic cheat detection ✔ File integrity validation ✔ Blocking of suspicious environments This helps maintain a fair and controlled gameplay environment. 🏗️ Build System (Patch Creator) A full build system is included to automate updates. Features: ✔ Detect changed files automatically ✔ Generate FULL packages ✔ Generate PATCH updates ✔ Create manifest.json automatically This allows you to manage updates like: 🌐 Website System A complete website is included, featuring: ✔ Account registration ✔ Player ranking (PvP / PK) ✔ News pages ✔ Integration with the server database 🎯 Why Use This? Many servers fail because they lack structure. This package solves that by providing: ✔ A complete environment ✔ Organized update flow ✔ Integrated systems ✔ Ready-to-use base ⚙️ Technical Details ✔ Launcher developed with modern UI concepts ✔ Patch system based on hash validation ✔ Integration between server, launcher, and website ✔ Expandable architecture 📦 Download 👉 (https://mega.nz/file/AusTnYQK#ZhvArkZpDS7FH60TXd2rg5wT2OxSg9v2pJ2GLrJbyiQ / download link here) 💬 Final Words If your server does not have a system like this today: This project is designed to help you reach a higher level.  
  • 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..