| Summary: | Remaining memory leak in Windows Agent Controller w/ compatibility layer when executing tests | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Joe Toomey <jptoomey> | ||||||
| Component: | TPTP | Assignee: | Igor Alelekov <igor.alelekov> | ||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||
| Severity: | major | ||||||||
| Priority: | P1 | CC: | andrew.kaylor, dkhodges, karla.callaghan, kdsiefke, kmooney, samwai, steven.wasleski, xubing | ||||||
| Version: | unspecified | Keywords: | plan | ||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows All | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Joe Toomey
Created attachment 55269 [details]
A project with a JUnit test that demonstrates the leak
Increasing priority to reflect consuming product's desire for a 4.2.2 fix. Assigning to Igor and assigning target to 4.2.2 to indicate that is when it is desired. Igor, Please prioritize this with your 4.2.2 work to see if it can actually be done in that timeframe. Retarget to 4.4 as this work cannot be done in time for 4.2.2, for which the focus is to get things running on Vista. Added effort estimate: 4 weeks Created attachment 64165 [details]
patch
Hi Samson,
Could you review and commit the patch?
It fixes memory leaks in XML parsing utils and removes Util.getCommands() function - it is not currently used but has memory access violation errors.
Patch reviewed and committed to CVS 2007/04/18 13:46 EDT. Igor, please mark this bug as fixed. Thanks. Hi Joe, Could you test it with an AC build from 19.04 or later? Resolved I finally had a chance to test the latest AC, and the binary custom command related leaks appear to be fixed. This is a big improvement, and will be appreciated by our consuming products since they tend to run very long tests that have a fair amount of binary custom command traffic throughout the run of the test. Additional testing shows that some per-launch leaks still remain, with the AC growing an average of ~1MB per test execution. I built a stress test plugin in the 4.2 timeframe to test this scenario (for both stability and memory leaks), and it still works well. I will open a new defect for fixing the per-launch leak and attach details on how to easily reproduce. Thanks. |