| Summary: | There seems to be a memory leak in the server image decorator | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP ServerTools | Reporter: | Rajiv Senthilnathan <rajiv.senthilnathan> | ||||||
| Component: | wst.server | Assignee: | Angel Vera <arvera> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | Angel Vera <arvera> | ||||||
| Severity: | critical | ||||||||
| Priority: | P2 | CC: | kaloyan, tjbishop | ||||||
| Version: | 3.2 | Flags: | arvera:
pmc_approved?
(david_williams) arvera: pmc_approved? (raghunathan.srinivasan) arvera: pmc_approved? (naci.dai) deboer: pmc_approved+ arvera: pmc_approved? (neil.hauge) kaloyan: pmc_approved+ |
||||||
| Target Milestone: | 3.2.2 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| See Also: | https://git.eclipse.org/r/108989 | ||||||||
| Whiteboard: | PMC_approved | ||||||||
| Attachments: |
|
||||||||
|
Description
Rajiv Senthilnathan
Created attachment 178054 [details]
v1.0
possible fix
I've tested the patch and it looks good. I've had many servers (upto 7) in different states, started, starting, stopped, stopping and had tried to reproduce the problem but things looked stable. Usually I would hit the problem after about 30 minutes but with the patch it was running for more than 1 hour without issue. Thanks for the testing Rajiv. Created attachment 178070 [details]
v1.1
Comment on attachment 178070 [details]
v1.1
Fixing the patch description.
This patch adds a few extra checks.
* Explain why you believe this is a stop-ship defect. Or, if it is a "hotbug" (requested by an adopter) please document it as such. This is an important bug to fix. In some cases the leak can be taking a lot of the memory and eventually crash the JVM with 'No more SWT handle' or Out of memory exceptions. * Is there a work-around? If so, why do you believe the work-around is insufficient? No workaround * How has the fix been tested? Is there a test case attached to the bugzilla record? Has a JUnit Test been added? Rajiv and I have done testing, for the part the code has an impact. The image overlay and the loading of the images. Refer to comment #2 for more information about the testing. I did extra testing to ensure that the extra checks on the 1.1 patch are coded properly and do not affect the behaviour. * Give a brief technical overview. Who has reviewed this fix? The fix is to create a cache of the image and retrieved the cached imaged instead of always creating new overlay images. We also added a few extra to avoid extra loading. * What is the risk associated with this fix? Minimal Changed committed to 3.2M Changes released to 3.2M changes committed and released to HEAD New Gerrit change created: https://git.eclipse.org/r/108989 |