Uploaded image for project: 'Commons JCS'
  1. Commons JCS
  2. JCS-146

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: jcs-2.0
    • Fix Version/s: jcs-2.0-beta-2
    • Component/s: Indexed Disk Cache
    • Labels:
      None

      Description

      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]

        Attachments

          Activity

            People

            • Assignee:
              tv Thomas Vandahl
              Reporter:
              wiktorn Wiktor N
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: