Your comments

I had this issue for at the beginning, i used to stop the scan, save the db and restart, so i could continue if it crashed/corrupted. It got tedious. I finally updated my java, but also, I specified a larger memory allocation when i started the jar file:   java -jar -Xmx4g Ubooquity.jar and it hasnt crashed since. Im at 40k books/comics.