commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Ivankovits <>
Subject Re: [vfs] Out of memory when doing getChildren() or findFiles(FileSel ector)
Date Sun, 02 Oct 2005 20:04:27 GMT wrote:
>This is a large directory and doing getChildren() or findFiles() even if the
>includeFile method of the selector returns false it will take 50MB of the
VFS utilize a cache for faster lookup on subsequent resolves.
This cache uses SoftReferences and they are freed as soon as the JVM 
gets low of memory and no-one holds a strong reference to the 
corresponding file objects.

Do you have any problems other than the amout of heap used?


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

View raw message