Bug 57716

Summary: Log viewer undo memory leak
Product: JMeter Reporter: Alejandro Vazquez <avazquez37>
Component: MainAssignee: JMeter issues mailing list <issues>
Severity: normal CC: p.mouawad
Priority: P2    
Version: 2.12   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Alejandro Vazquez 2015-03-16 16:51:51 UTC
A test plan that constantly produces ERROR log entries builds up javax.swing.text.GapContent$UndoPosRef instances for every ERROR log entry added to the Log Viewer component. The instances' memory is not released until the test plan execution is stopped.

To reproduce the bug:

  * Create an empty test plan

  * Add a new thread group

  * Add a BeanShell sampler with the following line of code:


  * Set the thread group to execute forever.

  * Optionally add a Constant Timer to avoid leaking memory too fast.


  * Modify user.preferences to reduce ERROR log entries being appended to the Log Viewer.
Comment 1 Philippe Mouawad 2015-03-16 19:57:39 UTC
Thanks for report.
This bug has been fixed in release 2.13 which is available since yesterday.
Initial bug was 57440.

*** This bug has been marked as a duplicate of bug 57440 ***