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

Memory leak with parallel sessions

XMLWordPrintable

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

      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.)

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

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

                Created:
                Updated:
                Resolved: