forked from binfalse/CombineArchive
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
I am trying to pack 73,455 SBML files, which I have all in one List<File>, into one single COMBINE archive. It takes hours and then crashes with this message:
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at java.base/java.util.Arrays.copyOf(Arrays.java:3537)
at java.base/java.io.ByteArrayOutputStream.toByteArray(ByteArrayOutputStream.java:185)
at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem$FileRolloverOutputStream.toByteArray(ZipFileSystem.java:2222)
at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem$DeflatingEntryOutputStream.close(ZipFileSystem.java:2038)
at java.base/java.nio.file.Files.copy(Files.java:3172)
at java.base/java.nio.file.CopyMoveHelper.copyToForeignTarget(CopyMoveHelper.java:126)
at java.base/java.nio.file.Files.copy(Files.java:1308)
at de.unirostock.sems.cbarchive.CombineArchive.addEntry(CombineArchive.java:577)
at de.unirostock.sems.cbarchive.CombineArchive.addEntry(CombineArchive.java:755)
Metadata
Metadata
Assignees
Labels
No labels