commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "hrjk" <>
Subject Re: [commons vfs]: Handling large packages, memory error
Date Fri, 02 Jun 2006 14:11:43 GMT

We've found the problem. The error message was somewhat misleading. It
seems that the extracted zip package contained too long directory paths
for even WinZip to handle. So basically extracting this package to too
deep directory structure would cause the heap size exception.

Thanks for your help.


> Hi!
>> Also, we've tried to clear cache with
>> getFilesCache().clear(usedFileObject.getFileSystem()). Even this doesn't
>> seem to help.
> Are you sure you get rid of EVERY fileObject you had processed during
> extraction of the zip file?
> In case of zip files there is a global list (on filesystem level) which
> holds all entries.
> It should be garbage collected as soon as you dont hold any reference.
> Clear the cache isnt required as it holds only SoftReferences and the vm
> should discard them too.
>> Do you see this as a potential VFS problem?
> I wont rule out that you catched a bug here. Its complicated stuff, and
> hard to debug :-(
>> Could you point me to a working profiler?
> I use the yourkit profiler:
> Ciao,
> Mario
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message