RoboRumble/Reported Problems

From Robowiki
Jump to navigation Jump to search

Upload/Download leech

I'm using roborumble client version 1.5.4 on Ubuntu and I've try the difference between off-line and on-line (setting DOWNLOAD and UPLOAD flag to NOT) and the results for one iteration (10 battle, 45 round) is:

Elapsed Time DOWNLOAD UPLOAD
300 YES YES
130 NOT NOT
100 YES NOT

as you can see on-line mode grab about 3 times seconds than off-line mode. The bottle neck is the "download" flag, --lestofante 12:07, 4 December 2008 (UTC)

OutOfMemoryError

I'm running roborumble client version 1.5.4 on ubuntu (default VM: openJDK 1.6.0.0), and sometimes in my log I find: Exception in thread "Battle Thread" java.lang.OutOfMemoryError: Java heap space, can someone tell me a way to grab more information about this error or a way to solve it?

UPDATE: found more information

Exception in thread "Battle Thread" java.lang.OutOfMemoryError: Java heap space

at java.util.Arrays.copyOf(Arrays.java:2894)
at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:117)
at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:407)
at java.lang.StringBuilder.append(StringBuilder.java:136)
at robocode.io.Logger.log(Unknown Source)
at robocode.battle.Battle.setupRound(Unknown Source)
at robocode.battle.Battle.run(Unknown Source)
at java.lang.Thread.run(Thread.java:636)

--lestofante 12:07, 4 December 2008 (UTC)