[jboss-jira] [JBoss JIRA] (JBRULES-3624) Memory leak in Planner benchmarker statistic: the Solver instance lives beyond SingleBenchmark.call()

Geoffrey De Smet (JIRA) jira-events at lists.jboss.org
Wed Sep 12 03:48:32 EDT 2012


     [ https://issues.jboss.org/browse/JBRULES-3624?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Geoffrey De Smet resolved JBRULES-3624.
---------------------------------------

    Fix Version/s: 5.5.0.Beta1
       Resolution: Done


Fixed
https://github.com/droolsjbpm/drools-planner/commit/bd7afc7fab5f979fe6d589b4473641dde72c7341
                
> Memory leak in Planner benchmarker statistic: the Solver instance lives beyond SingleBenchmark.call()
> -----------------------------------------------------------------------------------------------------
>
>                 Key: JBRULES-3624
>                 URL: https://issues.jboss.org/browse/JBRULES-3624
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: drools-planner
>            Reporter: Geoffrey De Smet
>            Assignee: Geoffrey De Smet
>            Priority: Critical
>             Fix For: 5.5.0.Beta1
>
>
> It's not noticeable for small or medium problems, because the number of Solvers is relatively low (1-100 per benchmark). But a Solver has a clone of the Solution, so for really big problems, for which the Solution takes a big chunk of the memory, this memory leak causes OOM after a few single benchmarks, usually near the end after running a long time. Big PITA in that case.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list