Invalid maximum heap size: . . .

Discussion in 'Bukkit Help' started by Quanchin, Oct 30, 2014.

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

    Quanchin

    Trying to make a server and all I get is
    OS is 64
    Invalid maximum heap size: -Xmx4G
    The specified size exceeds the maximum representable size.
    Error: Could nor create the Java Virtual Machine.
    Error: A fatal exception occurred. Program will exit.
    press any key to continue . . .

    I should also clarify that when I set the memory to 2G is says
    Java HotSpot<TM> Client VM warning: ignoring option MaxPermSize=256M; support was removed in 8.0
    error occurred during initialization of VM
    Could not reserve enought space for object heap

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

    Relicum

    How much memory does your real pc (Presume thats what your trying it on) have ?? Also please show the full start command your using.
     
  3. Offline

    Quanchin

    i only have 8G of ram, And what do you mean by full start command? Sry I am not the best when it comes to these things.
     
Thread Status:
Not open for further replies.

Share This Page