Understand start.bat

Discussion in 'Systems Administration' started by math418f, May 12, 2015.

  1. What does the highlighted mean:

    @echo off

    java -Xms512M -Xmx1024M -jar spigot.jar
    pause
     
  2. Theres nothing highlighted?
     
  3. It's how much RAM the java vm is initialized with and how much it can allocate max.
     

  4. -Xms512M : tells java to initially start the server with 512 mb of ram allocated to it
    -Xmx1024M : tells java that the server can not use more then 1024 mb or 1 gb of ram
     
    • Informative Informative x 2