Jump to content
  • 0

[RAM] How to increase it?


Question

15 answers to this question

Recommended Posts

  • 0
Posted

Windows 7 ... GL :P

 

So in the startGameServer.bat

 

java -Djava.util.logging.manager=com.l2jserver.util.L2LogManager -Xms1024m -Xmx1024m -cp ./../libs/*;l2jserver.jar com.l2jserver.gameserver.GameServer

 

-Xms1024m -Xmx1024m = 1 Go ram

-Xms2048m -Xmx2048m = 2 go Ram

 

But only in binaries numbers, example if you want 1.5 Go, it's 1024 + 512, not 1500

  • 0
Posted

I have this:

 

 java -Dfile.encoding=UTF8 -Xmx1024m -Xms512m -Xmn256m -XX:PermSize=128m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts -XX:+UseSerialGC -cp ./lib/*;l2jfrozen-core.jar com.l2jfrozen.gameserver.GameServer

 

So it would be like:

 

 java -Dfile.encoding=UTF8 -Xmx4096m -Xms4096m -Xmn4096m -XX:PermSize=128m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts -XX:+UseSerialGC -cp ./lib/*;l2jfrozen-core.jar com.l2jfrozen.gameserver.GameServer

 

With this the gameserver will use 4GB, isnt it?

 

Thanks,

 

Regards

  • 0
Posted

I have this:

 

 java -Dfile.encoding=UTF8 -Xmx1024m -Xms512m -Xmn256m -XX:PermSize=128m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts -XX:+UseSerialGC -cp ./lib/*;l2jfrozen-core.jar com.l2jfrozen.gameserver.GameServer

 

So it would be like:

 

 java -Dfile.encoding=UTF8 -Xmx4096m -Xms4096m -Xmn4096m -XX:PermSize=128m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts -XX:+UseSerialGC -cp ./lib/*;l2jfrozen-core.jar com.l2jfrozen.gameserver.GameServer

 

With this the gameserver will use 4GB, isnt it?

 

Thanks,

 

Regards

Yes.
  • 0
Posted

So guys, if I put this: Xmx4096m -Xms4096m -Xmn4096m it will use always 4GB, but if I put this: -Xmx4096m -Xms4096m -Xmn1024m it will use always 1GB but if the server need more RAM it'll take it but with the limit in 4GB?

 

Thanks,

 

Regards.

  • 0
Posted

This will help to server no lag???

 

Well, if you have 8GB ram and the server is only using 1GB, if the server use 4GB it will be works more fluid, think so.

  • 0
Posted

So guys, if I put this: Xmx4096m -Xms4096m -Xmn4096m it will use always 4GB, but if I put this: -Xmx4096m -Xms4096m -Xmn1024m it will use always 1GB but if the server need more RAM it'll take it but with the limit in 4GB?

 

Thanks,

 

Regards.

 

For efficient garbage collection, the -Xmn value should be lower than the -Xmx value.
  • 0
Posted

So I editted the main settings:

 

 java -Dfile.encoding=UTF8 -Xmx1024m -Xms512m -Xmn256m -XX:PermSize=128m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts -XX:+UseSerialGC -cp ./lib/*;l2jfrozen-core.jar com.l2jfrozen.gameserver.GameServer

 

To this:

 

 java -Dfile.encoding=UTF8 -Xmx4096 -Xms512m -Xmn256m -XX:PermSize=128m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts -XX:+UseSerialGC -cp ./lib/*;l2jfrozen-core.jar com.l2jfrozen.gameserver.GameServer

 

And it gives me an error:

 

10qxisg.png

 

 

Someone can help me to fix this?

 

Thanks,

 

Regards.

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

    • 🎮✨ DRIVING SERVICES ✨🎮 Your Ultimate Driving Service in Lineage 2 Reborn x1 Signature 🛡️ Too Busy to Farm? I Got You. 📜 Stuck on a Questline? We’ll Lead the Way. 🌾 Need Rare Drops or Materials? We Grow Gold While You Rest.   🎁 Services We Offer: 🔹 SPOILING & LOOTING – Need that rare drop or spoil drop? I'll get it while you work/sleep. 🔹 QUESTING – Stuck on a quest? 1st class, 2nd class, 3rd class, Subclass, Noblesse Quest. Let me finish it for you. 🔹 RESOURCE FARMING – Adena, rare drops, mats — you name it, I grind it. 🔹 CHARACTER PILOTING – We play your character directly — always safely, always securely.   🔥 Why Choose Me? 🔥 ⚔️ 100% Human-Driven – No bots, just top-tier gamer. 🕒 24/7 Availability – Play on your time, or let me play while you live your life. 💬 Live Updates – Know what’s happening every step of the grind. 🔐 Safe & Private Piloting – Your account is in expert hands. No afk, no hacks, no risks.   💸 Prices 💸 🔹 QUEST - 3 EURO/HOUR (negotiable depends on terms and conditions) 🔹 SPOIL - 3.5 EURO/HOUR (negotiable depends on terms and conditions) 🔹 FARM/EXP - 2.5 EURO/HOUR (negotiable depends on terms and conditions) 🔹 CASTLE SIEGE - 2 EURO/HOUR   💳 Payment Method Your security is our priority. We accept: 💰 PayPal – Fast, secure, and global. Friends and Family only   🎮 DM me now! 📍 Discord: garudaphoenix99
    • Hello, add prices please and let us know 😃
    • Hello. Im selling adena Reborn origins x1   discord > _flamber      /   mm pufa for sure 
    • ➡ Discount for your purchase: MAY (10% discount) ➡ Our Online Shop: https://socnet.store  ➡ Our SMM-Boosting Panel: https://socnet.pro  ➡ Telegram Shop Bot: https://socnet.shop  ➡ Telegram Support: https://t.me/solomon_bog  ➡ Telegram Channel: https://t.me/accsforyou_shop  ➡ Discord Support: @AllSocialNetworksShop  ➡ Discord Server: https://discord.gg/y9AStFFsrh  ➡ WhatsApp Support: https://wa.me/79051904467 ➡ WhatsApp Channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  ➡ Email Support: solomonbog@socnet.store 
  • Topics

×
×
  • Create New...