Jump to content

So guys.. is it possible to configure the ram usage for each program ??

For example on 2 minecraft srvers in the same machine.

For minecraft you can configure RAM usage through Java arguments in the batch launcher

 

Ex. "java -Xmx10g -Xms4g -jar minecraft_server.jar nogui" - What I use, the server starts with 4gb allocated and will allocate up to 10gb if needed

Nude Fist 1: i5-4590-ASRock h97 Anniversary-16gb Samsung 1333mhz-MSI GTX 970-Corsair 300r-Seagate HDD(s)-EVGA SuperNOVA 750b2

Name comes from anagramed sticker for "TUF Inside" (A sticker that came with my original ASUS motherboard)

Link to comment
https://linustechtips.com/topic/380659-ram-help/#findComment-5142972
Share on other sites

Link to post
Share on other sites

For minecraft you can configure RAM usage through Java arguments in the batch launcher

 

Ex. "java -Xmx10g -Xms4g -jar minecraft_server.jar nogui" - What I use, the server starts with 4gb allocated and will allocate up to 10gb if needed

under what scenario does your ram server need 10GB? O.o (out of curiousity)

 

as for allocating ram, thats what your OS is for, java on the other hand has parameters to tweak this to desire, albeit these arent taken very precisely.

Link to comment
https://linustechtips.com/topic/380659-ram-help/#findComment-5142995
Share on other sites

Link to post
Share on other sites

under what scenario does your ram server need 10GB? O.o (out of curiousity)

 

as for allocating ram, thats what your OS is for, java on the other hand has parameters to tweak this to desire, albeit these arent taken very precisely.

It doesn't... But I want to think my 16gb of RAM is useful. I don't think it's ever actually utilized 4gb+ of RAM either

Nude Fist 1: i5-4590-ASRock h97 Anniversary-16gb Samsung 1333mhz-MSI GTX 970-Corsair 300r-Seagate HDD(s)-EVGA SuperNOVA 750b2

Name comes from anagramed sticker for "TUF Inside" (A sticker that came with my original ASUS motherboard)

Link to comment
https://linustechtips.com/topic/380659-ram-help/#findComment-5143000
Share on other sites

Link to post
Share on other sites

It doesn't... But I want to think my 16gb of RAM is useful. I don't think it's ever actually utilized 4gb+ of RAM either

from my testing (when not taking in account memory leaks) even the best CPUs cap out at around 3-4GB ram usage, if you dont mind your server lagging to hell, you can go past that just fine tho.

Link to comment
https://linustechtips.com/topic/380659-ram-help/#findComment-5143009
Share on other sites

Link to post
Share on other sites

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

×