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

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

    • Seems legit, for sure deserves a try!
    • SOCNET VERIFICATION SERVICE — is a universal solution for those who value security, convenience, and quality. We turn the verification process into a convenient, fast, and highly confidential experience. Thanks to our service, any of your accounts receive identity confirmation, an increased level of trust from platforms and users, as well as protection from bans, fraud, and risks.   Promotion: Pay for your first verification and get a 10% discount on the second one! 💎 We help with verification on Fragment, crypto exchanges ByBit, Gate, Bitget, OKX, Binance, PayPal, KuCoin, and social networks LinkedIn, Facebook, Instagram, Twitter (X) and many other platforms! 💎 Verification for any service: crypto exchanges, trading platforms, hosting providers, casinos and other websites. Why choose us:   Premium quality — we use the most advanced verification methods. High processing speed — accelerated verification on leading platforms, online services and social networks. Full confidentiality — your personal information is protected. Increased trust and status — a verified account boosts influence and improves conversion. Individual approach — we work with bloggers, brands, businesses, and private clients. Simplifying complexity — we handle issues when dealing with foreign services. Important! Services related to illegal activities are strictly prohibited! 💳 Service pricing   ✅ Verification of individuals — from $30 (the exact cost depends on the required location and service/app/website). Learn more 👨‍💼 The cost of business verification for companies or legal entities is discussed individually with the service administration. Learn more If you want us to register your account on the required service and verify it — you will need to additionally pay 10% of the transaction amount. Available payment methods: cryptocurrency, credit cards, PayPal, and other payment methods in our online store and Telegram bot.   ⭐ Our Online Store ⭐ SOCNET.STORE ⭐ Telegram Store ⭐ SOCNET.SHOP ⭐ Our SMS Service ⭐ SOCNET.APP ⭐ Our Telegram Bot for buying Telegram Stars ⭐ SOCNET.CC ⭐ Our SMM Panel ⭐ SOCNET.PRO   ✅ News Resources ➡ Telegram Channel ➡ WhatsApp Channel ➡ Discord Server     ⭐ We invite you to COOPERATE and EARN with us ⭐ Would you like to sell your product or service in our stores and earn money? Become our partner or offer mutually beneficial collaboration? You can contact us via the CONTACTS listed in this topic. ✅ Contacts & Support ➡ Telegram Support ➡ WhatsApp Support ➡ Discord Support: socnet_support ➡ Email Support: solomonbog@socnet.store   Terms of Use and Refund Policy If you have any questions or issues, our fast support service is ready to respond to your requests! A refund for a completed service that does not fully meet the requirements or the declared quality is possible only if the product description includes a warranty and a valid warranty period. In other cases, a full refund for the service will not be provided! By purchasing such a service, you automatically agree to our refund rules for non-provided services! Refunds for countries selected by mistake are not provided after verification. To complete verification, you must provide full access to your account. We currently accept cryptocurrency, credit cards, PayPal, and other payment methods in our online store and Telegram bot! We value every client and provide replacements in case of invalid accounts via our contact channels! Attention: Your order will be delivered to your personal Google Drive/Mega.nz via a link (check the link, click “View content”) within 24 hours after the order confirmation! If you purchased more than 1 item at once, your entire order will be delivered via the first link! The remaining links will be empty! You will automatically receive an email notification after delivery! If you pay on our website via PayPal, you must pay an additional 20% commission (minimum $1). To avoid this commission, you can pay me directly via PayPal — instructions are available on the website! Refunds for items purchased by mistake or due to “I chose the wrong product and did not use it” are not accepted! You are fully responsible for your actions before and after purchase.
    • SOCNET VERIFICATION SERVICE — is a universal solution for those who value security, convenience, and quality. We turn the verification process into a convenient, fast, and highly confidential experience. Thanks to our service, any of your accounts receive identity confirmation, an increased level of trust from platforms and users, as well as protection from bans, fraud, and risks.   Promotion: Pay for your first verification and get a 10% discount on the second one! 💎 We help with verification on Fragment, crypto exchanges ByBit, Gate, Bitget, OKX, Binance, PayPal, KuCoin, and social networks LinkedIn, Facebook, Instagram, Twitter (X) and many other platforms! 💎 Verification for any service: crypto exchanges, trading platforms, hosting providers, casinos and other websites. Why choose us:   Premium quality — we use the most advanced verification methods. High processing speed — accelerated verification on leading platforms, online services and social networks. Full confidentiality — your personal information is protected. Increased trust and status — a verified account boosts influence and improves conversion. Individual approach — we work with bloggers, brands, businesses, and private clients. Simplifying complexity — we handle issues when dealing with foreign services. Important! Services related to illegal activities are strictly prohibited! 💳 Service pricing   ✅ Verification of individuals — from $30 (the exact cost depends on the required location and service/app/website). Learn more 👨‍💼 The cost of business verification for companies or legal entities is discussed individually with the service administration. Learn more If you want us to register your account on the required service and verify it — you will need to additionally pay 10% of the transaction amount. Available payment methods: cryptocurrency, credit cards, PayPal, and other payment methods in our online store and Telegram bot.   ⭐ Our Online Store ⭐ SOCNET.STORE ⭐ Telegram Store ⭐ SOCNET.SHOP ⭐ Our SMS Service ⭐ SOCNET.APP ⭐ Our Telegram Bot for buying Telegram Stars ⭐ SOCNET.CC ⭐ Our SMM Panel ⭐ SOCNET.PRO   ✅ News Resources ➡ Telegram Channel ➡ WhatsApp Channel ➡ Discord Server     ⭐ We invite you to COOPERATE and EARN with us ⭐ Would you like to sell your product or service in our stores and earn money? Become our partner or offer mutually beneficial collaboration? You can contact us via the CONTACTS listed in this topic. ✅ Contacts & Support ➡ Telegram Support ➡ WhatsApp Support ➡ Discord Support: socnet_support ➡ Email Support: solomonbog@socnet.store   Terms of Use and Refund Policy If you have any questions or issues, our fast support service is ready to respond to your requests! A refund for a completed service that does not fully meet the requirements or the declared quality is possible only if the product description includes a warranty and a valid warranty period. In other cases, a full refund for the service will not be provided! By purchasing such a service, you automatically agree to our refund rules for non-provided services! Refunds for countries selected by mistake are not provided after verification. To complete verification, you must provide full access to your account. We currently accept cryptocurrency, credit cards, PayPal, and other payment methods in our online store and Telegram bot! We value every client and provide replacements in case of invalid accounts via our contact channels! Attention: Your order will be delivered to your personal Google Drive/Mega.nz via a link (check the link, click “View content”) within 24 hours after the order confirmation! If you purchased more than 1 item at once, your entire order will be delivered via the first link! The remaining links will be empty! You will automatically receive an email notification after delivery! If you pay on our website via PayPal, you must pay an additional 20% commission (minimum $1). To avoid this commission, you can pay me directly via PayPal — instructions are available on the website! Refunds for items purchased by mistake or due to “I chose the wrong product and did not use it” are not accepted! You are fully responsible for your actions before and after purchase.
    • +8? Isnt +5 max per one stat?
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock