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.

Cant run Alice

Discussion in 'Suggest + Report Bugs + Get Help' started by Joonas150, Oct 24, 2015.

  1. Joonas150

    Joonas150 New Member

    Joined:
    Oct 24, 2015
    Messages:
    2
    Likes Received:
    0
    When I try to run it it gives me this error:

    Error: Could not create the Java Virtual Machine.
    Error: A fatal exception has occurred. Program will exit.
    Invalid maximum heap size: -Xmx4096M
    The specified size exceeds the maximum representable size.
    Process ended with code: 1

    How should I fix this?
     
  2. LordRedstone

    LordRedstone Best Coder 2k15

    Joined:
    Jun 14, 2012
    Messages:
    391
    Likes Received:
    73
    Man, this needs to be on a FAQ thread.

    You're running the game with 32-bit java. Install 64-bit java.
     
  3. Joonas150

    Joonas150 New Member

    Joined:
    Oct 24, 2015
    Messages:
    2
    Likes Received:
    0
    Thank you, I did it. Now it gives me this error:

    The game is running. Please wait.
    Error occurred during initialization of VM
    Initial heap size set to a larger value than the maximum heap size
    Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256M; support was removed in 8.0
    Picked up _JAVA_OPTIONS: -Xmx512M
    Process ended with code: 1
     
  4. LordRedstone

    LordRedstone Best Coder 2k15

    Joined:
    Jun 14, 2012
    Messages:
    391
    Likes Received:
    73
    Oh, now you have the _JAVA_OPTIONS issue. Not sure why this happens.

    You can try this solution:
    1) Open Start menu, typ "env" and click "Edit the system enviroment variables"
    [​IMG]

    2) Click "Enviroment Variables"
    [​IMG]

    3) Locate the "_JAVA_OPTIONS" entry under "System variables"
    [​IMG]

    4) Select "_JAVA_OPTIONS" and click the "Delete" button.
     
  5. Pathaleon

    Pathaleon Forum & Server Administrator
    Staff Member

    Joined:
    Jul 3, 2012
    Messages:
    1,014
    Likes Received:
    670
    That means your minimum memory is greater than your maximum memory is
     
  6. LordRedstone

    LordRedstone Best Coder 2k15

    Joined:
    Jun 14, 2012
    Messages:
    391
    Likes Received:
    73
    It's a _JAVA_OPTIONS problem like the one in this thread.
     
  7. Pathaleon

    Pathaleon Forum & Server Administrator
    Staff Member

    Joined:
    Jul 3, 2012
    Messages:
    1,014
    Likes Received:
    670
    My statement is still not incorrect...
     
  8. LordRedstone

    LordRedstone Best Coder 2k15

    Joined:
    Jun 14, 2012
    Messages:
    391
    Likes Received:
    73
    True.