DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44022>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=44022

           Summary: Memory Leak when closing test plan
           Product: JMeter
           Version: 2.3.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Main
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


Steps to reproduce:
1. Open the forEachTestPlan.jmx demo plan
2. Run it few times
3. Close the test plan

Result:
If you take a heap dump and analyze it in a tool (jhat eg.) you can see there
are HttpSampleResult objects dangling. 

I've analyzed the situation and there are at least 2 causes:
1. nodesToGui map in the GuiPackage class - this needs to be properly cleaned up
once the test plan is closed
2. also a ViewResultsFullVisualizer instance containing HttpSampleResults
objects is kept alive by the reference from the ResultCollector.listener field

I tried to come up with an easy fix but especially the cause nr.2 is tightly
connected to the jmeter architecture so it'd be better if someone with deeper
understanding of it would take a look at this issue

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to