[EMAIL PROTECTED] 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.
I tried some things, but didnt found any fault.

Which filesystem do you use? (local file, ftp, ...)

If this is a REALLY HUGE directory, then the problem can be that almost all used filesystem library returns the list of files in an array.
There isnt much VFS can do here then.
If this array gets too large (in bytes used) then you get the out of memory. The only thing you can do then is to add -Xmx256M (or whatever needed) to your jvm startup script.

---
Mario


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to