Jump to content
  • 0

server's total available ram..


Question

Posted

i have this machine : Xeon E5504 - 12gb DDR3 Ram - 140gb 10k SAS x2(raid 0 = 280 gb HDD)

 

i want to know if my l2j server can run on all ram(12gb) or atleast to 10gb ram...

i have to do some edits?and if yes where?

or if i dont...if your windows allow you more than 12gb ram (to my situtation i have Windows Server Enterprise 32bit and gives up to 64gb ram)im ok??my server will take all the available ram if ll needs to??

 

and last..what the reason for -xmx -xms -xmn on StartgameServer.bat (edit)??only for carbage collector-lagg??or there is something to do with the max amount of ram my server can run on...

 

ty for your time..i m w8 for your help!!

Recommended Posts

  • 0
Posted

ofc..but i dont asked that..i asked if he needs to run on 10gb ram he will?..for example..if he ll needs to uses 5gb ram he will??or i got to do any edit to gameserver.bat or in my windows or i dont even know...(or to install something addon windows)

 

and like i asked ...

 

and last..what the reason for -xmx -xms -xmn on StartgameServer.bat (edit)??only for carbage collector-lagg??or there is something to do with the max amount of ram my server can run on...

 

ty for your help..extremedwarf and i already learn a lot from your guides-comments..but plz try to help me little more here...

 

im still w8 for your help guys...i want to fully understand this...ty

 

  • 0
Posted

with windows 32x you cant set more then 1 GB ram for usage... install 64x and use your ram :P

it's 3.25.

  • 0
Posted

kuba you have a way to use 10gb ram for l2 on Windows Server Enterprise x32???

 

if yes plz can you tell it to me too....(on microsoft's page i find that my version is up to 64gb ram..but i cant put more than -1580xmx -1580xms. . . . ..(i have 12gb ramm). . ..

  • 0
Posted

xmx is the maximum heap size in the JVM.

xms is the initial heap size in the JVM.

 

Ill give you an example to understand how to use those values. Lets say you give 1 GB maximum heap size. When the server starts, it doesnt use all that memory, it doesnt need to. After many players login, or server is up for a long time ( memory leaks but dont pay attention to that ) memory starts getting filled up. If memory gets filled up to 1 GB / 1 GB then when JVM tries to allocate a new object it doesnt find any space to do that. So the garbage collector , starts "scanning" whole heap which adds load to the server making it not able to respond easily and in reasonable time. He does that so as he can collect garbages to free some space.

 

Usually in server applications you use xmx = xms , the same value. And that value is limmited by your adressing model or by your rams maximum. But, you shouldnt use ALL your ram in the JVM, cause free ram is needed for "other" things. Based on what you say:

 

but i cant put more than -1580xmx -1580xms.

 

How did you figure that out ?

 

  • 0
Posted

well to be honest if you dont have that much knowledge your server will never ever going to use that much memory hence you dont need to worry about this 1,5gb ram is enough for 100-120 player(ofc depends on the pack too but in general)

  • 0
Posted

i got 12gb ram ..i m thinking to put about -xmx8600 -xms8600 ... i tried to put -xmx3200 -xms 3200 ..

 

and my bat dont starts... now im trying to put x64 windows... and then i ll try again...

 

8-9gb for server and 3 gb for the rest machine isnt nice idea to your opinion..?

 

ty

  • 0
Posted

i got 12gb ram ..i m thinking to put about -xmx8600 -xms8600 ... i tried to put -xmx3200 -xms 3200 ..

 

and my bat dont starts... now im trying to put x64 windows... and then i ll try again...

 

8-9gb for server and 3 gb for the rest machine isnt nice idea to your opinion..?

 

ty

 

you really dont have absolutely 0 knowledge so to speak...

 

1st the maximum heap size JVM can initialize under 32bit is 1,5gb hence to setup more you need 64bit...

2nd you dont need 8-9gb and 3gb for the rest you never going to use that much memory(to comparison 2000player on an l2j server = pc with 16gb memory with usual optimalizations)

3rd dont use the same amount of maximum heap size and initial heap size use google to find out what value is for what...

  • 0
Posted
you really dont have absolutely 0 knowledge so to speak...

 

He is asking, he didnt suggested anything .... chill out.

 

1st the maximum heap size JVM can initialize under 32bit is 1,5gb hence to setup more you need 64bit...

 

The maximum heap size JVM can initialize under 32 bit is 4 GB ( do the maths ) , just some OS limmit it to 3 GB, some others to even less ( 1GB etc ).

 

2nd you dont need 8-9gb and 3gb for the rest you never going to use that much memory(to comparison 2000player on an l2j server = pc with 16gb memory with usual optimalizations)

 

Thats true, you wont need that much memory. You can run fine with 4GB with 800 players ( tested ).

 

3rd dont use the same amount of maximum heap size and initial heap size use google to find out what value is for what...

 

Wrong. If you allocate a small initial heap size ( xms ) then the JVM will reallocate ( increase/decrease ) the heap size each time its filled. For example, when it reaches initial xms ( 1GB ) it will reallocate more ( if xmx > xms ) which will add additional CPU overhead. For server applications, the best practice is to use xms = xmx. And always start with a quite sufficient xms ( eg 4 GB ) so as you wont need memory reallocation.

  • 0
Posted

He is asking, he didnt suggested anything .... chill out.

 

The maximum heap size JVM can initialize under 32 bit is 4 GB ( do the maths ) , just some OS limmit it to 3 GB, some others to even less ( 1GB etc ).

 

Thats true, you wont need that much memory. You can run fine with 4GB with 800 players ( tested ).

 

Wrong. If you allocate a small initial heap size ( xms ) then the JVM will reallocate ( increase/decrease ) the heap size each time its filled. For example, when it reaches initial xms ( 1GB ) it will reallocate more ( if xmx > xms ) which will add additional CPU overhead. For server applications, the best practice is to use xms = xmx. And always start with a quite sufficient xms ( eg 4 GB ) so as you wont need memory reallocation.

 

asking is one thing using google is another thing...and no its not wrong since again...the allocated memory always depends on how big server you have and since 100-120player server run fine with 512mb allocation on boot and only 1gb maximum heap size than whats the point of 1st a pc like and 2nd such a big heap...

 

+ still 32bit is stupid under a server pc(same stupidity as windows under server pc)

 

about the heap size(depends on OS since i test at home on win xp 32bit for me its 1,5gb just like for him)and on server pc who cares i use 64bit anyway...

 

also for the allocation i would prefere a bigger mysql heap size and if the server pc run the website too than watch for the apache server too since mysql and apache are the vulnerable parts...

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

    • From Salvation onwards I think you need a patched nwindow.dll that allows such modifications, try to see if you get what you need here: https://drive.google.com/drive/u/1/folders/1LLbQFGf8KlR-O0Iv5umfF-pwZgrDh9bd
    • hello everyone! I am wanting to save the files (Ini. - Data - ) of the EP5 Client: Salvation... But they generate the error "corrupt files"... I tried several versions of L2FileEditor without good results. I need help! Thank you!
    • Opening December 6th at 19:00 (GMT +3)! Open Beta Test from November 30th!   https://l2soe.com/   🌟 Introducing L2 Saga of Eternia: A Revolution in Lineage 2 High Five! 🌟   Dear Lineage 2 enthusiasts, Prepare to witness the future of private servers! L2 Saga of Eternia is not just another High Five project—it’s a game-changing experience designed to compete with the giants of the Lineage 2 private server scene. Built for the community, by the community, we’re here to raise the bar in quality, innovation, and longevity. What Sets Us Apart? 💎 No Wipes, Ever Say goodbye to the fear of losing your progress. Our server is built to last and will never close. Stability and consistency are our promises to you. ⚔️ Weekly New Content Our dedicated development team ensures fresh challenges, events, and updates every week. From custom quests to exclusive features, there will always be something exciting to explore. 💰 No Pay-to-Win Skill and strategy matter most here. Enjoy a balanced gameplay environment where your achievements come from effort, not your wallet. 🌍 A Massive Community With 2000+ players expected, join a vibrant and active community of like-minded adventurers ready to conquer the world of Aden. 🏆 Fair and Competitive Gameplay Our systems are designed to promote healthy competition while avoiding abusive mechanics and exploits. 🔧 Professional Development From advanced bug fixes to carefully curated content, we pride ourselves on smooth performance, no lag, and unparalleled server quality. Key Features Chronicle: High Five with unique interface Rate: Dynamic x10 rates Class Balance: Carefully fine-tuned for a fair experience PvP Focused: PvP Ranking & aura display effect for 3 Top PvPers every week Custom Events: Seasonal and permanent events to keep you engaged Additional Features:   Custom Endgame Content: Introduce unique dungeons, raids, or zones unavailable in other servers. Player-Driven Economy: Implement a strong market system and avoid overinflated drops or rewards. Epic Siege Battles: Announce special large-scale sieges and PvP events. Incentives for Streamers and Clans: Attract influencers and big clans to boost server publicity. Roadmap Transparency: Share a public roadmap of planned updates to build trust and excitemen   Here you can read all the features: https://l2soe.com/features   Video preview: Join the Revolution! This is your chance to be part of something legendary. L2 Saga of Eternia is not just a server; it’s a movement to redefine what Lineage 2 can be. Whether you’re a seasoned veteran or a newcomer to the world of Aden, we invite you to experience Lineage 2 at its finest.   Official Launch Date: December 6th 2024 Website: https://l2soe.com/ Facebook: https://www.facebook.com/l2soe Discord: https://discord.com/invite/l2eternia   Let’s build the ultimate Lineage 2 experience together. See you in-game! 🎮
    • That's like a tutorial on how to run l2 on MacOS Xd but good job for the investigation. 
  • Topics

×
×
  • Create New...