// RenderedImage image =
// coverage.view(ViewType.NATIVE).getRenderedImage();
Stopwatch sw = new Stopwatch();
sw.start();
writeToDisk(image, "testRead_" + tableName);
sw.stop();
long memMB = (Runtime.getRuntime().totalMemory() - Runtime.getRuntime()
.freeMemory()) / 1024 / 1024;
System.err.println("wrote #" + writeCount.incrementAndGet() + " in "
+ sw.getTimeString() + ": Mem: " + memMB + "M. Thread: "
+ Thread.currentThread().getName() + ", iteration #" + i);