Difference between revisions of "Thread:Talk:WhiteFang/Anti-Surfer Targeting/reply (8)"

From Robowiki
Jump to navigation Jump to search
 
(No difference)

Latest revision as of 03:20, 22 March 2019

20MB is too small. I generally record 2G of data via roborunner, 4 robocodes with 500M each.

I’m not experiencing data truncation. I’m using a worker thread that logs data asynchronously with java.nio FileChannel. However OutputStream API should be enough and you shouldn’t experience data truncation anyway. Where do you do file writing? Did you flush the higher level stream when it’s done? If you don’t do, robocode will close the lower level ones, resulting lost of data.