You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Wiktor N (JIRA)" <ji...@apache.org> on 2015/03/27 19:38:54 UTC

[jira] [Created] (JCS-146) IndexedDiskCache: Mismatched memory and disk length (0) for [DED: pos = 63802 len = 9658] during optimization

Wiktor N created JCS-146:
----------------------------

             Summary: IndexedDiskCache: Mismatched memory and disk length (0) for [DED:  pos = 63802 len = 9658] during optimization
                 Key: JCS-146
                 URL: https://issues.apache.org/jira/browse/JCS-146
             Project: Commons JCS
          Issue Type: Bug
          Components: Indexed Disk Cache
    Affects Versions: jcs-2.0
            Reporter: Wiktor N


I've created a small patch to test unit, that show the problem. See attached file.

Generally, the problem is, that when I insert more than elements into the Disk Cache, than it's limit, and then try to optimize it, there will be an IOException thrown:
Mismatched memory and disk length (0) for [DED:  pos = 63802 len = 9658]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)