Server wont start

Discussion in 'Spigot Help' started by Ishannaik, May 17, 2017.

  1. >OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000de2b5000, 98844672, 0) failed; error='Cannot allocate memory' (errno=12)
    # There is insufficient memory for the Java Runtime Environment to continue.
    # Native memory allocation (mmap) failed to map 98844672 bytes for committing reserved memory.
  2. I have 1gb ram vps ubuntu 16.04 just found how to make the server on vps and it wont start
  3. Are you sure you've allocated 1024MB of RAM (not 1000).
  4. it is 1024M can you send me the code?
  5. my cmd line
    java -Xmx1G -jar spigot.jar nogui
  6. 1gb is the ram installed on the pc or the amount you want to allocate?
  7. If you have a 1GB VPS.. and your trying to apply 1GB of RAM onto your server... Your gonna get major lag spikes.. Since from the 1GB of Ram it has to use some towards the OS etc.. you should apply 512MB honestly.
  8. Can you confirm you're on java 8 , 64 bit ?

    i use this: -Xms2G -Xmx2G

    You can use 1G if you want for those 2.
  9. How do i check if im running java 8
  10. 1.8.0 = java 8
    from cli: java -version
  11. openjdk version "1.8.0_131"
    OpenJDK Runtime Environment (build 1.8.0_131-8u131-b11-0ubuntu1.16.04.2-b11)
    OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode)
  12. i use this command line still did not work
    java -Xmx512M spigot.jar nogui
  13. try java -Xms256M -Xmx512M spigot.jar
  14. Error: Could not find or load main class spigot.jar

    Sorry for late reply i was out of town
  15. What's the Jar name you're using?
  16. spigot.jar ofc
  17. Hit me up on skype : CamisMGMT , would love to help you .