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.



  • Posts

    • Hi players ! Meet our project Lineage 2 Hiro Classic ! A low rate classic pvp oriented with many features. No pay to win, RB/AoE, group clan pvp castle etc ...  Dynamic rates, RB Xp 4x and soon massive update with auto farm ! Join now !  https://www.lineage2hiro.com/ Can't wait to see you online !
    • To all first time buyers we give a bonus + 10% of the order. 
    • 🔥 Looking for a powerful, clean, and player-friendly Auction House system for your Lineage 2 server? This fully-featured module is ready to plug into your project and provide your players with a modern, centralized marketplace!   💼 What is it? A complete Auction House system designed for fixed-price item sales between players. Forget about private stores and spammed zones—this system offers a smooth, secure, and offline-friendly way to buy and sell items across your server.   Photo Library: https://imgur.com/a/zLlUQbW   ✅ Main Features: 🔹 Fixed-Price Listings Only: Players list items at a set price. No bidding, no delays—just fast, clean trades. 🔹 Multi-Currency Support: Works with Adena, event coins, custom currencies—fully configurable. 🔹 Dynamic Interface: Players can filter items by name, type, and price. Easy-to-use HTML layout with smooth pagination. 🔹 Sell While Offline: Post items and receive payments even if you're not online—true passive trading. 🔹 Safety First: Full validation: no equipped/augmented/restricted items unless allowed. Prevents scams, mispricing, and listing errors. 🔹 Expiration Timer (Optional): Set listing time limits. Expired items go to warehouse/mail automatically. 🔹 Spam & Duplication Protection: Prevents multiple listings of identical items and unnecessary database load. 🔹 Performance Optimized: Clean, indexed SQL structure. No lag or bloating even with thousands of listings.   ⚙️ Plug & Play Clean Java code (compatible with aCis & derivatives). Easy setup with full instructions and sample configurations. Includes SQL, HTML files, and all Java classes – fully working out of the box.   💰 Pricing & Contact 📦 50 euro - One-time purchase with full support for setup & basic customization. 💬 Contact me here via PM or on Discord: @Luminous 🔐 Serious buyers only – source is clean, secure, and tested on live servers.     Give your server the next-level economy it deserves. No more chaotic trade zones. No more confusion. Just clean, efficient, server-wide trading.
    • We are certainly not an ambulance, but we will definitely cure you of blacklists and empty pockets. Live freely with SX! Each of you will receive a trial version of SX to familiarize yourself with the product, all you have to do is post in this thread
    • 166 pisses on their heads any day of the week though
  • Topics

×
×
  • Create New...