Error occurred during initialization of VM

Error occurred during initialization of VM

Discuss everything related to running Spring on your chosen distribution of Linux.

Moderator: Moderators

Post Reply
nully
Posts: 3
Joined: 23 Aug 2010, 00:10

Error occurred during initialization of VM

Post 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 =/
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Error occurred during initialization of VM

Post 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.
nully
Posts: 3
Joined: 23 Aug 2010, 00:10

Re: Error occurred during initialization of VM

Post 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
Attachments
infolog.txt
(13.45 KiB) Downloaded 118 times
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Error occurred during initialization of VM

Post by hoijui »

the infolog shows you are running spring 0.81.2.0, current version is 0.82.3.0.
nully
Posts: 3
Joined: 23 Aug 2010, 00:10

Re: Error occurred during initialization of VM

Post by nully »

>.<
Yeah, that seems to have fixed it. Added the apt to the list, upgraded.

Thank you!
Post Reply

Return to “Linux”