Cannot add more RAM to my server.

Discussion in 'Bukkit Help' started by ===RhysyB===, Mar 29, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    ===RhysyB===

    Hi guys, I have a windows 7 machine 64 bit running a core i3 processor 3.3 gigahertz with 4 GB of RAM an nothing running on it apart from minecraft and my server. I am trying to change my amount of RAM from 1GB to 2GB and when I try to do so I receive this error message:
    Error occurred during initialisation of VM
    Could not reserve enough space for object heap
    Error: Could not create the Java Virtual Machine
    Error: A fatal exception has occurred. Program will exit.

    Within my run.bat file I have:
    @echo Welcome to the Skullcraft Server Console!
    java -Xmx2G -jar -craftbukkit.jar -o true
    pause

    If anybody could help me that would be amazing because I will want to get my server up and running again but on 2G
     
  2. Offline

    kungfuko

    What Java version you have? Otherwise try this
    Code:
    @Echo off
     
    java -server -d64 -Xincgc -Xmx2000m -jar craftbukkit.jar
     
    pause
    Why do you have Welcome to the Skullcraft Server Console! inside your .bat file?
     
  3. Offline

    ===RhysyB===

    kungfuko
    I have no idea.
    Version 7 Update 51

    I will try the code you have supplied now.

    kungfuko
    I tried the new code and I received another error:

    Error: This Java instance does not support a 64-bit JVM.
    Please install the desired version.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 7, 2016
  4. Offline

    kungfuko

    Uninstall java and install java 64-bit from here Java-64-bit
     
  5. Offline

    ===RhysyB===

    I installed it, still getting the same error message.
     
  6. Offline

    kungfuko

    Try this
    Code:
    @Echo off
     
    java -server -d32 -Xincgc -Xmx2000m -jar craftbukkit.jar
     
    pause
     
  7. Offline

    ===RhysyB===

    kungfuko I got a new error message:

    Error: Missing 'server' JVM at 'C:\Program Files (x86)\Java\jre7\bin\server\jvm.dll'.
    Please install or use JRE or JDK that contains these missing components.

    *bump*

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 7, 2016
  8. Offline

    MCMatters

    Your error happens to me, i would like a solution
     
  9. Offline

    ===RhysyB===

    Well, keep watching the thread and keep searching google :) If you find a solution please let me know.
     
  10. Offline

    djshaneere

    download the offline java 64bit and normal u need both this will fix
     
  11. Offline

    ===RhysyB===

    djshaneere I have downloaded that do I restart my computer?
     
  12. Offline

    djshaneere

    yes u do
     
  13. Offline

    ===RhysyB===

    djshaneere Ok, I will try that.

    djshaneere Still getting the same error.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 7, 2016
  14. Offline

    kungfuko

  15. Offline

    ===RhysyB===

    kungfuko djshaneere I downloaded it, and restarted my computer and I now receive the error 'java' is not recognised as an internal or external command.
     
  16. Offline

    MCMatters

  17. Offline

    ===RhysyB===

    Oh yeah, I'll re add that brb

    YES! IT WORKED! MCMatters and kungfuko YOU ARE AMAZING I AM FOLLOWING BOTH OF YOU NOW! THANKS SO MUCH!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 7, 2016
Thread Status:
Not open for further replies.

Share This Page