Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4063

Theading issue in AsynchronousDataStore causes OutOfMemory exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.5.0
    • 1.5.1
    • wicket
    • None

    Description

      Considering below time sequence:
      1. "entries.offer" is called during "storeData".
      2. page saving thread comes in, and poll the entry. Then "entryMap.remove" is called. Nothing will be removed since entry has not been added to entryMap yet.
      3. "entryMap.put" is called during "storeData".

      The result is that entries in "entryMap" may never be removed, and the entryMap can increase infinitely.

      Attachments

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            robinshine Robin Shine
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: