**fixed** Crazy Craft 4 Problems

Discussion in 'Crazy Craft 3.0' started by FoxyFoxFox0101, Mar 26, 2020.

  1. FoxyFoxFox0101

    FoxyFoxFox0101 New Member

    Hello,

    Before I start I just want to make it clear that this is for Crazy Craft 4 NOT 3. I am posing here as there is no forum for CC4 yet.

    I am having problems staring the server. when I open the 'Start Server.bat' file cmd loads but fails to load with the following message;

    'Invalid maximum heap size: -Xmx4G
    The specified size exceeds the maximum representable size.
    Error: Could not create the Java Virtual Machine.
    Error: A fatal exception has occurred. Program will exit.'

    This is the same if I change the server RAM allocation back to 8GB.

    Anyone know any solutions?

    Thanks,
    Benji Foxy
     
  2. FoxyFoxFox0101

    FoxyFoxFox0101 New Member

    Hi,

    I have solved the issue, basically the section that states how much RAM the server gets was in the wrong place with the file that opens.
    So basically it should be like the following;

    @Echo off
    java -jar forge-1.7.10-10.13.4.1558-1.7.10-universal.jar -Xmx4G
    pause

    Hope I have solved anyone's problem,
    Benji Foxy
     

Share This Page