0

I have a Raspberry Pi 4B (4GB). When I launch SkyFactory (sudo sh ServerStart.sh), it always gives me this error:

Starting Sky Factory 4 Server...
Invalid maximum heap size: -Xmx4096M
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.

However is this because Java is 64bit if so how do I install 64bit Java.

  • after 2 minutes of google research, I think the answer is, you can't run skyfactory 4 server on rsapberry pi – Jaromanda X Jul 12 at 2:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.