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 ------- Additional Comments From [EMAIL PROTECTED] 2006-11-02 01:37 ------- Could you attach the patch? (In reply to comment #0) > We heavily use BeanShell pre-, post- processor and function components. > > We discovered that after running for 10 minutes, we get > OutOfMemoryExceptions, > consistenly. > > We made some test with simplified scripts and we have te same - even simple > BeanShell scripts cause leaks. > > It turns out that this problem actually originates in the BeanShell > interpreter > itself. The only workaround I have found constitutes of throwing out the > whole > interpreter object afer an eval. > > Looking at the sources, at the moment JMeter uses one isntance per component, > per test run. > > To see whether the workaround can work for JMeter, we have patched the > BeanShell components to instantiate a interpreters any time they need to > evaluate a script. This helped and now we have bounded memory use. We > probably > have a performance loss, but so far this has posed no problem. > > Since I do not see BeanShell devs fixing their leak, perhaps JMeter should > integrate BeanShell using the workaround, to keep JMeter actually usable with > this scripting? > > Cheers, > Nik -- 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]
