Ram Allocation Error

Discussion in 'Bukkit Help' started by bruttix, Jan 10, 2013.

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

    bruttix

    Hi,
    So i am trying to allocate more ram to my server and when i do i recieve this error..

    http://www.imagesnatcher.com/img/new/c04df87b2603e0fe/

    This is what my run.bat file looks like...

    java -Xms1024M -Xmx12156M -jar craftbukkit.jar -o true
    PAUSE

    Thanks for the help :)

    Edit:
    OS: Windows Server 2008
    64Bit System
    64Bit Java
    I have 14GB Memory Total ( Im trying to allocate 12GB)
     
  2. Offline

    PolarCraft

    for the java code you have to put
    java -Xmx12156M -Xmx12156M -jar craftbukkit.jar -o true
    PAUSE
     
  3. Offline

    Superkabii

    Uh... no?

    bruttix
    To clarify, how much memory does the system have in total?
     
  4. Offline

    bruttix

    14GB Ram

    Bump 4 Help

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

    LuigiPenguin

    Ahh help me and i help you xD
    First go to control panel, search "Java" in search box. Then click the first thing. Then click the java Tab. Click the view button. now only 1 java thing should show up. in the empty box, put -Xincgc -Xmx2048M or more in the numbers. 4 u it should be -Xincgc -Xmx12000M u have alot of ram xD click OK or there is a Apply, do so!
     
  6. Offline

    Jade

    Hint. You have 32 bit Java.
     
  7. Offline

    AyshineMatt

    Wrong, wrong, wrong.

    You DO NOT have to use that "java code". (The correct term is "start-up line") If you wish to use that start-up line, this will allocate the EXACT usage of RAM, which is a bit risky, especially when the server might not even need to use that much RAM, possibly putting the VPS or computer to more work, when not needed.

    Anyways, a previous thread was posted, and the problem was solved. Click here for that thread.
     
Thread Status:
Not open for further replies.

Share This Page