Solved Could Not Reserve Enough Memory

Discussion in 'Spigot Help' started by CalicoCactus, Jun 19, 2018.

  1. Hey there, I'm trying out PaperSpigot on my actual computer, but oof, the start.bat does not work!

    Take a look:

    C:\Users\Will\Desktop\SkySplash 2.0>java -Xms1024M -Xmx3024M -jar spigot.jar -o true
    Error occurred during initialization of VM
    Could not reserve enough space for 3096576KB object heap

    C:\Users\Will\Desktop\SkySplash 2.0>title Server Console

    C:\Users\Will\Desktop\SkySplash 2.0>PAUSE
    Press any key to continue . . .

    Edit: Oh boy, setting it to max 1024mb fixed it.
    #1 CalicoCactus, Jun 19, 2018
    Last edited: Jun 19, 2018
  2. foncused

    Moderator Patron

    If you are unable to allocate that much memory, adjust the -Xmx flag. You can only use what is available.
  3. The problem is, I have 16GB of ram!

    Edit: 15.8 available
  4. DavidDevelops


    This happens to me on my local testing server! All i did was restart my pc to fix it, Worth a shot i guess Lol
  5. I guess I'll try that?
  6. DavidDevelops


    I see you marked it as solved what was the fix?