Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-19864

The tasks queue does not have a maximum capacity

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 14.1
    • Index
    • Unknown

    Description

      Every modification to a document produce a task which stored but also added in a memory queue, and you can sometime have a huge number of those tasks.

      For example, I just found in a memory dump (automatically triggered by an OutOfMemory) a 759091 queue which is using about 150MB. While rare in a normal runtime, this can happen with which exceptional activity or simply when reanalyzing all the documents of an instance (which was the use case here, I think).

      Since all the tasks are stored, the memory version of it should ideally only be a limited extract of the full queue, serving more as a cache than the reference queue.

      Attachments

        Activity

          People

            mleduc Manuel Leduc
            tmortagne Thomas Mortagne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: