You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by bu...@apache.org on 2006/12/18 21:08:27 UTC

DO NOT REPLY [Bug 40850] - - Memory leak in all BeanShell components

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=40850>.
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=40850


eric.dalquist@doit.wisc.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #19070|0                           |1
        is obsolete|                            |
  Attachment #19071|0                           |1
        is obsolete|                            |




------- Additional Comments From eric.dalquist@doit.wisc.edu  2006-12-18 12:08 -------
Created an attachment (id=19281)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=19281&action=view)
Patch to resolve memory leak issue

Minimal diff to fix the BeanShell memory leak. The patch changes the
BeanShellInterpreter to create an instance of the bsh.Interpreter class each
time eval or source is called. Variables created in the Interpreter are loaded
into a Map after each evaluation and loaded back into the new Interpreter
before each evaluation to keep the same state between runs.

-- 
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: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org