Menu

#230 Lockup on start if too many bots in robots dir

1.7.1
closed
5
2012-09-15
2009-09-08
Anonymous
No

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

Discussion

  • Pavel Šavara

    Pavel Šavara - 2009-09-12

    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.

     
  • Flemming N. Larsen

    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

     

Log in to post a comment.

MongoDB Logo MongoDB