On 2013-09-30, Benedikt Ritter wrote: > 2013/9/30 Stefan Bodewig <bode...@apache.org>
>> I'm in no way as familiar with the format as Damian is but IMHO it is >> feasible - but likely pretty memory hungry. Even more so for the >> writing side. Similar to zip some information is stored in a central >> place but in this case at the front of the archive. > just out of curiosity: is this memory problem related to Java or to 7z in > general? What Bernd said. Reading may be simpler, here you can store the meta-information from the start of the file in memory and then read entries as you go, ZipFile inside the zip package does something like this. When you consider writing you'll have to write metadata about all entries before you even start to write the first bytes of the first entry. Either you build up everything in memory or you use a temporary output. This is not without precedent in Compress, pack200 allows users to chose between two strategies that provide exactly those two options. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org