[Webtest] [webtest][JIRA] Created: (WT-206) Probable memory leak: AbstractBrowserAction seems to hold reference to responses

Marc Guillemot (JIRA) webtest@lists.canoo.com
Thu, 22 Jun 2006 09:47:31 +0200 (CEST)


Probable memory leak: AbstractBrowserAction seems to hold reference to responses
--------------------------------------------------------------------------------

         Key: WT-206
         URL: http://webtest-community.canoo.com/jira/browse/WT-206
     Project: WebTest
        Type: Bug

    Versions: 2.0    
    Reporter: Marc Guillemot
 Assigned to: Marc Guillemot 


All steps extending AbstractBrowserAction hold reference to the page that is the current one before they execute to be able to save the new response at the end of execution (if any). This reference is not released and the page can't be garbage collected. Currently the steps live until the whole <webtest> has been executed meaning that ALL responses received during a <webtest> are kept in memory until the test terminates.

Caution: this description comes only from code analysis. I haven't performed any profiling to check these assumptions.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://webtest-community.canoo.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira