what should my start command be

Discussion in 'Spigot Help' started by aristant, May 10, 2015.

  1. http://www.soyoustart.com/us/offers/e3-ssd-3.xml is my server

    java -Xmx16G -Xms16G -XX:permSize=256M -XX:MaxPermSize=512M -jar spigot25.jar nogui

    is my current one i set it to this yesterday. but idk if this is good or not. i use ubuntu.

    i ask this because my server would crash often from outofmemory.

    so can someone tell me a good startup line for my server
  2. Maybe using less dedicated Ram?
  3. joshwenke

    Wiki Team

    java -jar spigot25.jar
  4. I'd highly recommend using the Xmx & ConcMarkSweepGC flags as well. Not setting Xmx could set your whole system on fire if you get a bad memory leak.
  5. joshwenke

    Wiki Team

    True. I guess mine isn't that raw. I just chuckle when I see massive startup scripts with tons of unnecessary flags.

    OP, your best bet would be to search the Spigot forums for similar threads, as this question has been answered tons of times.