commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Ivankovits <ma...@ops.co.at>
Subject Re: [vfs] Out of memory when doing getChildren() or findFiles(FileSel ector)
Date Sun, 02 Oct 2005 20:04:27 GMT
JWilliams@FAMILYDOLLAR.com 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
>heap.
>  
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?

---
Mario


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message