When starting for the first time, after having copied all bot .jar files over into the robocode/robots directory, robocode starts, but after having built the database for the first X bots it starts throwing the following exceptions to the console, and then freezes:
file:/home/jk/Desktop/robocode1.7.4b/robots/voidious.micro.Jen_1.11.jar is probably corrupted (java.io.FileNotFoundException /home/jk/Desktop/robocode1.7.4b/robots/voidious.micro.Jen_1.11.jar (Too many open files))
This is running on Ubuntu 9.04 with OpenJDK 6, however the same problem is encountered with the Sun Java6 JVM. Robocode version 1.7.4b
-- Skilgannon
We do some dirty tricks with caching open jar files. To achieve good speed during game and to deal with nested jar files. See URLJarCollector.
I was unable to replicate your problem, but believe that more explicit cleanup and GC could help.
Flemming could you please provide Skilgannon with binaries to test. Thanks a lot.
Hi Skilgannon,
I have uploaded 1.7.1.4 Alpha 11 for you here with Pavels fix. I would be really cool if you could verify if this issue has been solved:
http://robocode.sourceforge.net/files/robocode-1.7.1.4-Alpha-11-setup.jar