[ 
https://issues.apache.org/jira/browse/DERBY-3140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kathey Marsden updated DERBY-3140:
----------------------------------

    Attachment: derby-3140_diff.txt

Attached is a patch to null out foreignIdToRowsMap on teardown() for 
InListMultiProbeTest.  The interesting thing is that the test harness seems to 
keep a reference to all the classes for all the tests it has run.   I guess 
that makes sense so it can compile results, but it means we should be quite 
careful  adding fields to test classes as they will stick around.  I'll check 
the other tests and see if there is anything hanging around that shouldn't be.

Kathey


> InListMultiProbeTest creates 30000 DataRow objects that do not get released 
> during suites.All run
> -------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-3140
>                 URL: https://issues.apache.org/jira/browse/DERBY-3140
>             Project: Derby
>          Issue Type: Sub-task
>          Components: Test
>    Affects Versions: 10.4.0.0
>            Reporter: Kathey Marsden
>            Assignee: Kathey Marsden
>            Priority: Minor
>         Attachments: derby-3140_diff.txt, Snapshotinstancecounts.html
>
>
> Using jhat I noticed that there are 30000 DataRow object created by 
> InListMultiProbeTest that do not get released after the test is complete.  
> This is because foreignIdToRowsMap is declared as a field in the test.  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to