Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-834

Lucene use too much memory

    XMLWordPrintable

    Details

      Description

      The Lucene search need too much memory on large instance with large index. Some readers are stored on thread locals, these readers have unlimited buffers which is quite dangerous.

      The solution is to delegate the search to a thread pool, the readers are limited to the thread locals of this pool and don't contaminate the threads which Tomcat use for the requests. The second part is to update Lucene to a version greater than 4.4 where the buffers are limited to a max. size of 32k.

        Attachments

          Activity

            People

            • Assignee:
              srosse Stéphane Rossé
              Reporter:
              stephan Stephan Clemenz
              Tester:
              Stephan Clemenz
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 8 hours, 10 minutes
                8h 10m