Uploaded image for project: 'OptaPlanner'
  1. OptaPlanner
  2. PLANNER-2550

Memory leak with parallel sessions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 8.13.0.Final
    • 7.60.0.Final
    • optaplanner-core
    • None

    Description

      When we run an OptaPlanner plain Java quickstart, we get a memory leak. Instances of PhreakPropagationContext grow to the millions and are never reclaimed. (Image shows VisualVM sampler after ~5 minutes.)

      However, when we disable the multi-threaded solver, the issue is not there. (Again, VisualVM sampler after ~5 minutes.)

      Attachments

        1. with.png
          with.png
          59 kB
        2. without.png
          without.png
          56 kB

        Activity

          People

            lpetrovi@redhat.com Lukáš Petrovický (Inactive)
            lpetrovi@redhat.com Lukáš Petrovický (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: