commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Jordan (JIRA)" <>
Subject [jira] [Commented] (JCS-154) CacheAccess.clear() does not clear indexed disk cache
Date Fri, 20 Nov 2015 14:41:11 GMT


Matthias Jordan commented on JCS-154:

Well, isn't that great? I just set up a test project in which I could fiddle around with the
logging a bit and I couldn't repro the issue anymore. Even in the main project the issue does
not appear anymore. Let me be clear here: I do not create an account in a bug tracker and
enter a ticket description on a whim. The issue did appear consistently multiple times. Why
it disappeared is beyond me. I think you might close the ticket. Thanks for your time and

> CacheAccess.clear() does not clear indexed disk cache
> -----------------------------------------------------
>                 Key: JCS-154
>                 URL:
>             Project: Commons JCS
>          Issue Type: Bug
>          Components: Indexed Disk Cache
>    Affects Versions: jcs-2.0-beta-1
>            Reporter: Matthias Jordan
>            Assignee: Thomas Vandahl
> I created a cache using an auxiliary indexed disk cache. Calling {{clear()}} on the cache
does not free disk space allocated by the disk cache. I suspect this also affects other auxiliary
> In fact, adding new objects to the cache using the old keys, keeps allocating more disk
> E.g.: create cache, store a BLOB of 1 MB with key "A". 1 MB disk space is allocated for
the BLOB. Now call {{clear()}} on the {{CacheAccess}} object. Store another 1 MB BLOB with
key "A". Now 2 MB are allocated. 
> Calling {{AuxiliaryCache.removeAll()}} on the disk cache frees the disk space, though.

This message was sent by Atlassian JIRA

View raw message