Archimede's Ship Error

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Demonic

New Member
Jul 29, 2019
2
0
0
Everytime I try to compile my ship which is above the 2048 block limit i get this error
java.lang.StackOverflowError
I edited the configuration files to allow larger ships but it still keeps saying "Error Compiling ship, see console" which shows this message: java.lang.StackOverflowError
 
I realize that making the ship smaller would work, but if so then why bother adding in the ability to change the size? Is there a work-around to the java error?
 
It's configurable up to a point. But once you go beyond a point, java itself can't handle it. You can try increasing permgen to 512 and RAM by a gig, thus giving java more breathing room, but other than that you can't do anything. Besides rewriting the whole mod of course.
 
Assuming (assuming!) you have changed the maximum to something attainable, you might be able to work around the stack overflow by increasing java's stack allocation.

Code:
-Xss1M