Help with my Startup Flags :(

Discussion in 'Spigot Help' started by BlackDemonZ, May 1, 2017.

  1. Guys! My server is ignoring the 12G ram limit :( it's using more than it and it get acomulated, help me please :(

    #!/bin/bash
    while true; do
    /usr/bin/java -Xmx12G -jar /home/desktop/Escritorio/DUELOS/spigot-1.8.8.jar
    sleep 2
    done
     
  2. You need to set an initial amount of storage too.
     
  3. I have the maximum setted up but it is ignoring it :(
     
  4. But i already have a Limit setted UP (maximum) and its getting ignored :(
     
  5. You've set a maximum, not an initial storage limit. Use the code below.

    Code (Text):
    #!/bin/bash
    while true; do
    /usr/bin/java -Xms1024M -Xmx12G -jar /home/desktop/Escritorio/DUELOS/spigot-1.8.8.jar
    sleep 2
    done
    Another issue may be the amount of storage you're wanting to use. Your computer may not be able to hold 12G on top of other things on your computer.
     
  6. I have 64G ram in total
    PD: I can set it to the mxs to 1024? its recommended?
     
  7. -Xms1024M -Xmx12G

    -Xms is the initial storage limit.

    -Xmx is the maximum storage limit.

    They have two separate meanings.