DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36962>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36962


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|                            |LATER




------- Additional Comments From [EMAIL PROTECTED]  2005-10-14 19:41 -------
When using a NullFilesCache NO file-object will be cached and thus VFS has to
recreate it on every resolveFile.
This declares why your object instances are different.

BTW: Using any other cache then the default might lead to memory leaks too. VFS
dont know when to close the filesystem if it cant keep track of the files in 
use.
You have to call AbstractFileProvider.closeFileSystem to avoid this.
Though, its still a performance penalty not to use the cache.

If you use the cache, dont forget to call FileObject.close() if you would like
to resync the data (last mod time, filesize, children) with the real filesystem.
You can reuse you FileObject after "close", VFS will refetch the data then.

Resolve this bug with "later" as I might think about the caching at all at a
later time.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to