logo separator

[mkgmap-dev] Problem when splitter runs out of disk space

From Mike Baggaley mike.baggaley at basfordltc.co.uk on Tue Aug 2 18:16:58 BST 2022

I recently had a problem where my disk filled up while running splitter, but
splitter did not exit, continuing to run for over an hour before I looked at
it and killed the process. I assume it was waiting for something which could
never happen.

The log file ended with the following:

Exception in thread "worker-4" Exception in thread "worker-2" Exception in
thread "worker-3" Exception in thread "worker-0" Exception in thread
"worker-6" Exception in thread "worker-1"
uk.me.parabola.splitter.SplitFailedException: Thread worker-1 failed to
write element 
	at
uk.me.parabola.splitter.SplitProcessor$OSMWriterWorker.run(SplitProcessor.ja
va:421)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.io.IOException: There is not enough space on the disk
	at java.base/java.io.FileOutputStream.writeBytes(Native Method)
	at
java.base/java.io.FileOutputStream.write(FileOutputStream.java:354)
	at
java.base/java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java
:81)
	at
java.base/java.io.BufferedOutputStream.write(BufferedOutputStream.java:127)
	at
java.base/java.io.ByteArrayOutputStream.writeTo(ByteArrayOutputStream.java:1
87)
	at
uk.me.parabola.splitter.writer.O5mMapWriter.writeDataset(O5mMapWriter.java:2
03)
	at
uk.me.parabola.splitter.writer.O5mMapWriter.write(O5mMapWriter.java:264)
	at
uk.me.parabola.splitter.writer.AbstractOSMWriter.write(AbstractOSMWriter.jav
a:88)
	at
uk.me.parabola.splitter.SplitProcessor$OSMWriterWorker.run(SplitProcessor.ja
va:417)
	... 1 more
Exception in thread "worker-5" uk.me.parabola.splitter.SplitFailedException:
Thread worker-3 failed to write element 
	at
uk.me.parabola.splitter.SplitProcessor$OSMWriterWorker.run(SplitProcessor.ja
va:421)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.io.IOException: There is not enough space on the disk
	at java.base/java.io.FileOutputStream.writeBytes(Native Method)
	at
java.base/java.io.FileOutputStream.write(FileOutputStream.java:354)
	at
java.base/java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java
:81)
	at
java.base/java.io.BufferedOutputStream.write(BufferedOutputStream.java:127)
	at
java.base/java.io.ByteArrayOutputStream.writeTo(ByteArrayOutputStream.java:1
87)
	at
uk.me.parabola.splitter.writer.O5mMapWriter.writeDataset(O5mMapWriter.java:2
03)
	at
uk.me.parabola.splitter.writer.O5mMapWriter.write(O5mMapWriter.java:264)
	at
uk.me.parabola.splitter.writer.AbstractOSMWriter.write(AbstractOSMWriter.jav
a:88)
	at
uk.me.parabola.splitter.SplitProcessor$OSMWriterWorker.run(SplitProcessor.ja
va:417)
	... 1 more
uk.me.parabola.splitter.SplitFailedException: Thread worker-2 failed to
write element 
	at
uk.me.parabola.splitter.SplitProcessor$OSMWriterWorker.run(SplitProcessor.ja
va:421)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.io.IOException: There is not enough space on the disk
	at java.base/java.io.FileOutputStream.writeBytes(Native Method)
	at
java.base/java.io.FileOutputStream.write(FileOutputStream.java:354)
	at
java.base/java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java
:81)

Regards,
Mike



More information about the mkgmap-dev mailing list