startup script 3GB

Discussion in 'Spigot Help' started by PluginDevZack, Mar 26, 2019.

    • Agree Agree x 2
  1. Code (Text):
    java -Xmx3072M -jar YOURJAR.jar -o true
    PAUSE
    I use this
     
    • Funny Funny x 2
  2. Do you use Windows or a unixoid system (like MacOS or Linux)?
     
  3. Windows
     
  4. Check the resources section, there are loads of example start up scripts for Windows (and other os) there.

    I wouldn't just pick something that's an exe file, you never know what crap is hiding inside those. But they usually have examples of how to run the java -jar stuff for the version you want.

    Instead of -Xmx3072M you can also use -Xmx3G
     

Share This Page