Out of Memory Error

AI discussion, ideas, and SDK help.
Post Reply
User avatar
SunTzu
Lux Cartographer
Posts: 1586
Joined: Sat Jan 14, 2006 1:48 am
Location: Maryland

Out of Memory Error

Post by SunTzu » Thu Oct 04, 2007 11:49 am

While working on a bot today, I started running into the following error:

Code: Select all

java.lang.OutOfMemoryError: Java heap space
Is this a problem with the bot, Lux, my computer, or something else?

User avatar
Kef
Lux Translator
Posts: 4471
Joined: Tue Feb 24, 2004 11:23 am
Location: in j0r f0rumz, Tr0||in j0r t0pixzz
Contact:

Post by Kef » Thu Oct 04, 2007 11:53 am

I've had the same thing but with something else, very weird :s

http://sillysoft.net/forums/viewtopic.php?t=12056

User avatar
Bertrand
Reaper Creator
Posts: 568
Joined: Mon Nov 28, 2005 4:35 pm
Location: Montreal

Post by Bertrand » Thu Oct 04, 2007 12:08 pm

Are you using the Sparrow bot? It causes the OutOfMemoryError on non-classic maps.

If you are not using Sparrow, then your bot is probably responsible for the error.

User avatar
SunTzu
Lux Cartographer
Posts: 1586
Joined: Sat Jan 14, 2006 1:48 am
Location: Maryland

Post by SunTzu » Thu Oct 04, 2007 12:10 pm

It was the bot. I found a memory leak...

User avatar
RandomGuy
Lux Veteran
Posts: 1463
Joined: Mon Mar 05, 2007 12:02 am
Location: Central American Jungle
Contact:

Post by RandomGuy » Thu Oct 04, 2007 1:39 pm

yeah, I get this sometimes, usually with larger maps with large image files (sometimes with map generators played multiple times).

Post Reply