User Activity

  • Posted a comment on discussion Help on 7-Zip-JBinding

    JavaDoc of ByteArrayStream: *net.sf.sevenzipjbinding.util.ByteArrayStream.ByteArrayStream(int maxSize) Create new empty instance of ByteArrayStream specifying maximal length of the stored data. Parameters:maxSize maximal length of the stored data. Use Integer.MAXVALUE to disable maximal length constraint.* I used the following because i needed an unbounded array: ByteArrayStream result = new ByteArrayStream(Integer.MAX_VALUE); But I get java.lang.OutOfMemoryError: Java heap space when I reach the...

  • Posted a comment on discussion Help on 7-Zip-JBinding

    Hi Boris, i implemented what we discussed but i always get: HRESULT: 0x80004002 (No interface). Error creating 'zip' archive with 1 items at net.sf.sevenzipjbinding.impl.OutArchiveImpl.nativeUpdateItems(Native Method) at net.sf.sevenzipjbinding.impl.OutArchiveImpl.doUpdateItems(OutArchiveImpl.java:124) at net.sf.sevenzipjbinding.impl.OutArchiveImpl.createArchive(OutArchiveImpl.java:132) at bdi.ist.orbishistorical.sevenzipjbinding.runnable.ArchiveChunksCompressor.compressChunks(ArchiveChunksCompressor.java:132)...

  • Posted a comment on discussion Help on 7-Zip-JBinding

    Hi Boris, First of all, thank you for your quick reply. Moreover, the library is very useful especially now that unrar has been removed from centos/redhat distros. This morning, after my post, I read one of your replies and thought of using BlockingQueue to implement Producer/Consumer logic with two different threads. In this way, I'll extract and compress the first chunk creating the first version of the compressed file (createArchive function), then I'll append the following chunks using the updateArchive...

  • Posted a comment on discussion Help on 7-Zip-JBinding

    Hi Klaus, could you, please, share your solution? I catched the same exception. Thank you in advance

  • Posted a comment on discussion Help on 7-Zip-JBinding

    Hi Boris and all, my requirement is to change compression method of multivolume files having a huge total dimension ( about 150Gb uncompressed) from RAR to ZIP. I can't use CLI programs and commands like unrar, unar in pipe with gzip or similar, so I thought to use Java and I found SevenZipJBinding that solved my task using RandomAccessFile to extract and then compress a phisical file on disk. I used ExtractCallback and CreateCallback and it finished the job in about forty minutes for a 25Gb file...

View All

Personal Data

Username:
rs030877
Joined:
2006-10-30 16:55:50

Projects

  • No projects to display.

Personal Tools

MongoDB Logo MongoDB