commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernd Eckenfels (JIRA)" <>
Subject [jira] [Updated] (VFS-512) LRUFilesCache grows arbitrarly
Date Wed, 23 Sep 2015 21:27:04 GMT


Bernd Eckenfels updated VFS-512:
    Labels: leak  (was: )

> LRUFilesCache grows arbitrarly
> ------------------------------
>                 Key: VFS-512
>                 URL:
>             Project: Commons VFS
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: Bela Hullar
>              Labels: leak
> We are experiencing memory issues in our system where we have to scan very big directories.
After doing some investigation it turned out that the cause of the issue is the caching of
vfs. (
> From this reason we tried out LRUFilesCache, but it seems this cache can still grow way
beyond the limit. 
> This can be reproduced with a simple test code:
> In this example we set the max size of lru to 100, but running a while this example and
then checking the heap of the program showed that the real size of the map can be 10 000 or
more too. And it seems its growing constantly.

This message was sent by Atlassian JIRA

View raw message