Bug 58707

Summary: Undo/Redo function causes freeze and high memory usage when searching a large .jmx file
Product: JMeter - Now in Github Reporter: MarcoP <marco.porrelli>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: RESOLVED DUPLICATE    
Severity: normal CC: p.mouawad
Priority: P2    
Version: 2.13   
Target Milestone: ---   
Hardware: PC   
OS: All   

Description MarcoP 2015-12-09 11:50:52 UTC
To reproduce:

1)Enable the undo.history.size property. It was initially set at 25 but even 5 was causing an issue

2)Open a relatively large JMX script (just opening the script is already slower when undo is active)

3)Carry out a search. If the script is large enough JMeter will consume all memory made available to it while trying to carry out the search and will freeze.

Turning off the undo.history.size property and repeating the above steps after restarting JMeter shows much improved performance and does not freeze the application.
Comment 1 benoit.wiart 2015-12-09 18:03:38 UTC
Could you provide the jmx script ?
Comment 2 Philippe Mouawad 2015-12-09 20:44:00 UTC
Hi,
This is a known issue of Undo/Redo feature, this is why the feature is disabled by default.

Closing as duplicate.

*** This bug has been marked as a duplicate of bug 57043 ***
Comment 3 The ASF infrastructure team 2022-09-24 20:38:01 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3724