1. Welcome to our bug report and feature request forum.
    • For game exploits, post in the Private Issues forum. Please provide details in your message.
    • For all other suggestions and reports:
      • Apply the appropriate prefix to your post
      • Please include every detail (such as how a mechanic works or how to reproduce a bug)
      • Remember that new features need to be balanced and fair.

Error occurs during initialization of VM

Discussion in 'Suggest + Report Bugs + Get Help' started by CopperWolf, Sep 3, 2014.

  1. CopperWolf

    CopperWolf New Member

    Joined:
    Apr 23, 2012
    Messages:
    9
    Likes Received:
    5
    I was having a different issue with Alice, so I updated Java and my graphics driver. Now Alice immediately fails to load, with the messages and errors box saying only this:
    Code:
    The game is running. Please wait.
    Error occurred during initialization 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.
    Process ended with code: 1
    
    In the launcher's options, I've set the minimum memory to 1024, the maximum to 2048, and the PermGen to 256.
     
  2. BranderoS

    BranderoS Moderator

    Joined:
    Mar 12, 2014
    Messages:
    195
    Likes Received:
    41
    Do You have installed java 64-bits? I had the exact same problem and i solved it by installing java 64-bit
     
  3. Pathaleon

    Pathaleon Forum & Server Administrator
    Staff Member

    Joined:
    Jul 3, 2012
    Messages:
    1,014
    Likes Received:
    670
    Thats exactly it. :) Copper basically 32 bit java cannot address the 2048 (2gb) memory that you have asked it to allocate, therefore it is failing to create the java VM. By installing the x64 version of java you have the possibility to assign what i believe to be around 200+TB of ram! (Theoretically of course)
     
  4. CopperWolf

    CopperWolf New Member

    Joined:
    Apr 23, 2012
    Messages:
    9
    Likes Received:
    5
    Thanks for your help, guys. Getting 64-bit solved the problem. I probably won't show up on Alice much until the next update, but I wanted to make sure everything works before that.
     
  5. LordRedstone

    LordRedstone Best Coder 2k15

    Joined:
    Jun 14, 2012
    Messages:
    391
    Likes Received:
    73
    Windows only supports up to 192GB of RAM, and I'm pretty sure Unix-based systems don't expand on that much. And that's before we even start talking about hardware :3
     
  6. Pathaleon

    Pathaleon Forum & Server Administrator
    Staff Member

    Joined:
    Jul 3, 2012
    Messages:
    1,014
    Likes Received:
    670
    The JVM has a THEORETICAL limit of 256TB of RAM iirc. Also Windows supports more than that there is a server at my brothers workplace (datacentre) it has 960GB of ram. Which I believe the max is 4TB.
     
  7. FuzzyHarpyBug

    FuzzyHarpyBug Has the memory of a dead goldfish.

    Joined:
    May 5, 2013
    Messages:
    152
    Likes Received:
    60
    I want 200+ TB of ram....
     
  8. LordRedstone

    LordRedstone Best Coder 2k15

    Joined:
    Jun 14, 2012
    Messages:
    391
    Likes Received:
    73
    no u

    And yes workstations and servers expand on that limit.