Optimize ram 1.15.2 ?

Discussion in 'Performance Tweaking' started by DavidWingWong, Mar 5, 2020.

Thread Status:
Not open for further replies.
  1. Hello so this is quite strange for me for using these follow java arrangements:

    -server -Xms1024M -Xmx32768M -jar /pro/bin/mc/spigot/1.15.2/spigot-1.15.2.jar

    It will only show that i have around 300 -500 mb of free memory which keeps crashing my server/lagging.

    So then i decided to change XMS to 30GB Now i have 27GB Memory free???

    Is this correct? as i thought it would XMS only needed like 1gb for server start up and would range memory free and allocated tofrom 1gb to 32gb ?

    Will XMS And XMX Be fine to use both set to 32768M ?

    Server Specs

    Intel i7-7700k
    32GB Ram
    120GB SSD

    [​IMG]
     
    #1 DavidWingWong, Mar 5, 2020
    Last edited: Mar 5, 2020
  2. md_5

    Administrator Developer

    Stop allocating stupid amounts of ram.
    Use something sensible like 8G
     
    • Like Like x 3
    • Agree Agree x 1
    • Winner Winner x 1
  3. you cannot allocate all the RAM you have, OS needs it too and that amount of ram is absolutely crazy, do not allocate more than your server needs, more ram = more lag, unless you are having a lack of ram.
     
    • Like Like x 1
Thread Status:
Not open for further replies.