Solved Errors Adding More Memory

Discussion in 'Bukkit Help' started by Machete.Panda, Aug 16, 2012.

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

    Machete.Panda

    Maybe Im using the wrong searhc terms, but I cant find this in the forums or on google.

    Anyway... Im trying to increase my Bukkit servers memory to 2GB.

    So I made a .bat file(windows 2008 R2 x64 with 3GB memory) and added this:
    Code:
    @ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -Xmx2048M -Xms2048M -jar craftbukkit.jar
    PAUSE
    It spits out this error:
    Code:
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    Could not create the Java virtual machine.
    Press any key to continue . . .
    However setting the memory to 1024M does let the server run, but when a bunch of people get on... bad lag and maxed memory.

    Please help.
     
  2. Offline

    Omnitv

    How many plugins are you running on your server and, how many players are you hosting?
     
  3. Offline

    Machete.Panda

    That would not be related to this error. Like I said it works at 1024M so at 2048M no matter how many players or plugins it should still work.

    So I still have this problem.
     
  4. Offline

    Omnitv

    It would be.... Because plugins and players are use RAM, so please list down your plugins.
     
  5. Offline

    Machete.Panda

    They dont even load. Not like some of the plugins load then I get this error. Just this error, no attempt to load.
     
  6. Offline

    Coelho

    Use Linux. Windows alone on your machine is probably using 124092`14u12gb [fire] of memory, so your JVM can't reserve 2gb at startup.
     
    Omnitv likes this.
  7. Offline

    Omnitv

    Ok, Please post your server.log to pastebin/ pastie.
     
  8. Offline

    Machete.Panda

    I increased the memory of the machine with 2 more GB just to add 1 more GB to Minecraft.


    Odd, it wont generate. It just gives that error.
    Code:
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    Could not create the Java virtual machine.
    Press any key to continue . . .
    :(
     
  9. Offline

    Omnitv

    Did you update your java to java7 ?
    Do you have C++ 2008 redistributable?
     
  10. Offline

    Machete.Panda

    We havent updated to java 7. Do you think we should?

    We do have Application Server installed as a Role and WebServer(IIS). Would those do anything you mentioned?
     
  11. Offline

    Omnitv

    Update your Java and install to C++ 2008 redistributable
     
  12. Offline

    Machete.Panda

    you did it! THANK YOU!

    You sir... are a god among men! :)
     
  13. Offline

    Omnitv

    Im not a god im a cat. :3
    (Set to solved.)
     
  14. Offline

    Machete.Panda

    hehe... ok... how do I do that? lol. Havent had to before.
     
  15. Offline

    Omnitv

    Top right thread tools.
     
Thread Status:
Not open for further replies.

Share This Page