Page 1 of 1

Error occurred during initialization of VM

Posted: 23 Aug 2010, 00:12
by nully
Whenever I try to play BA with various AI's, I get the error:
Error occurred during initialization of VM
Too small initial heap for new size specified

Here's my java version
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode)


Please, I really want to play BA but every AI I try either fails (that error) or the AI does nothing =/

Re: Error occurred during initialization of VM

Posted: 23 Aug 2010, 14:31
by hoijui
this may only happen for Java AIs. there is no usable Java AI shipped with spring currently. Null* AIs are useful for testing only. KAIK and RAI should work out of the bx with BA (7.14+). AAI will work too, if you have the config file for the BA version you want to play (see the message it posts in infolog.txt).
So i recommend you to try RAI and KAIK first, and if they do not work, post infolog.txt as file attachment to your next post.

Re: Error occurred during initialization of VM

Posted: 23 Aug 2010, 20:11
by nully
Thanks for replying. The RAI and KAIK AI's both seem to try and build something, but it never finishes, they're stuck building the same structure (i cant tell what it is) at 0% the whole game unless I sent over some construction bots and they take them over, then they'll start building more, very slowly.
By the way, I also found a AAI cfg for an older BA version, but the same thing happened as above...
Here's the infolog, last AI ran was KAIK...

Thanks again

Re: Error occurred during initialization of VM

Posted: 23 Aug 2010, 20:48
by hoijui
the infolog shows you are running spring 0.81.2.0, current version is 0.82.3.0.

Re: Error occurred during initialization of VM

Posted: 24 Aug 2010, 00:03
by nully
>.<
Yeah, that seems to have fixed it. Added the apt to the list, upgraded.

Thank you!