Skip to main content

[truezip-users] Re: IllegalStateException :….. (already released)

  • From: Christian Schlichtherle <christian@...>
  • To: users@...
  • Subject: [truezip-users] Re: IllegalStateException :….. (already released)
  • Date: Sat, 6 Jul 2013 23:49:52 +0200

Hi Ramdev,

> The deal is I am not accessing random files in the tar file, I have to 
> process all the files in the archive. and Unfortunately I am running into 
> the problem I mentioned.

Then there is no way to avoid extracting each entry to a temporary file. You 
need to make sure to have enough space in the temp file system in order to 
make this work.

> Since I am processing the tar archive file by file, Is it possible to set 
> up config to actually delete the file once its been processed ? So that the 
> tmp folder does not run out of file handles…..

No, TAR files need to be completely extracted upon first access just so that 
the Kernel can provide you with random access, even if your app doesn't need 
it.

> The reason I would like to use a programatical way of reading the TAR 
> archive is to automate a process.. and not 
> to have to actually extract the contents of the tar archive and have to 
> deal with  post processing issues (i.e. deleting the extracted content).

Sure, TrueZIP/TrueVFS makes this easy. However, the TAR file format hasn't 
been designed for random access, so this mode of operation is inefficient. If 
you can choose the file format, then you should choose the ZIP file format.

Regards,
Christian




[truezip-users] IllegalStateException :….. (already released)

Ramdev Wudali 07/06/2013

[truezip-users] Re: IllegalStateException :….. (already released)

Christian Schlichtherle 07/06/2013

[truezip-users] Re: IllegalStateException :….. (already released)

Ramdev Wudali 07/06/2013

[truezip-users] Re: IllegalStateException :….. (already released)

Christian Schlichtherle 07/06/2013

[truezip-users] Re: IllegalStateException :….. (already released)

Ramdev Wudali 07/07/2013

[truezip-users] Re: IllegalStateException :….. (already released)

Ramdev Wudali 07/07/2013

[truezip-users] Re: IllegalStateException :….. (already released)

Christian Schlichtherle 07/08/2013

[truezip-users] Re: IllegalStateException :….. (already released)

Ramdev Wudali 07/08/2013

[truezip-users] Re: IllegalStateException :….. (already released)

Christian Schlichtherle 07/08/2013

[truezip-users] Re: IllegalStateException :….. (already released)

Christian Schlichtherle 07/08/2013
 
 
Close
loading
Please Confirm
Close