- This topic has 5 replies, 3 voices, and was last updated 17 years, 9 months ago by Riyad Kalla.
-
AuthorPosts
-
JonathanOddyMemberThis week I’ve been doing a lot of the following refactoring using the MyEclipse Visual JSP Designer:
-
* take one JSP copy it three times (so we have four JSPs A, B, C and D)
* convert C into a JSPF fragment and remove all unnecessary code (turn this into a fragment for the <head> contents)
* convert D into a JSPF fragment and remove all unnecessary code (turn this into a fragment for the <body> * contents)
* convert A to use C and D fragments
* convert B to use C and D fragments
* make sundry other modifications to A and BI also do the following in conjunction:
-
* modify my struts-config.xml
* modify a small number of Java classes (struts form and action classes)I guess over the past week I’ve done the above to a dozen or so JSPs. Now when I do the above very quickliy I notice MyEclipse’s memory allocation shooting upwards and it rarely comes down (according to the heap status it gets up in the 230-240M bracket and only ever garbage collects down to 140M ish – and that’s after the files have been closed). And once MyEclipse’s heap gets that high it’s a case of shutting the IDE down because everything takes an age (my Ant build goes from 2 to 4/5 minutes). So over this week I guess I’ve been shutting MyEclipse down 2/3 times a day.
This is the first time I’ve done the above style of work. Prior to this (for the last couple of years or so) MyEclipse has seemed pretty stable.
My environment:
Eclipse
Version: 3.2.1
Build id: M20060921-0945MyEclipse
Version: 5.0 GA
Build id: 20060805-5.0-GA
Riyad KallaMemberJonathanOddy,
Sorry you are running into this issue. What do your command line arguments look like? Doing these types of operations are memory intensive because they employ so many portions of the product at once so allocating a lot of memory and then keeping (to a degree) that memory allocated is understandable, but not to the point that the entire workbench should be slowing down to half speed.Also can you post the information from MyEclipse > Installation Summary > Installation Details for me?
Haris PecoMemberJonathan,
You are correct.MyEclipse Web designer has memory leak in version 5.0.It is fixed in version 5.5M1
Regards,
Haris PecoMemberadd-in :
There is memory leak with ant builds (classloader problem in JDK), but it is not too horrible except you repeat ant a lot times.
See bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=130545Regards,
JonathanOddyMemberHi Support People,
Sorry for the delay in response (your site was not available when I tried yesterday). For completeness Riyad here’s my install details:*** Date: Tue Feb 06 11:13:23 GMT 2007 *** System properties: OS=WindowsXP OS version=5.1 Java version=1.5.0_06 *** MyEclipse details: MyEclipse Enterprise Workbench Version: 5.0 GA Build id: 20060805-5.0-GA *** Eclipse details: Eclipse SDK Version: 3.2.1 Build id: M20060921-0945 Eclipse Graphical Editing Framework Version: 3.2.0.v20060626 Build id: 20060627-0816 Eclipse Platform Version: 3.2.1.r321_v20060921-b_XVA-INSQSyMtx Build id: M20060629-1905 Eclipse RCP Version: 3.2.1.r321_v20060801-2ekW2BxmcpPUOoq Build id: M20060629-1905 Eclipse Java Development Tools Version: 3.2.1.r321_v20060905-R4CM1Znkvre9wC- Build id: M20060921-0945 Eclipse Plug-in Development Environment Version: 3.2.1.r321_v20060823-6vYLLdQ3Nk8DrFG Build id: M20060921-0945 Eclipse Project SDK Version: 3.2.1.r321_v20060801-tQ1w49KnTArT0FZ Build id: M20060921-0945 Eclipse startup command=-data C:\eclipse\workspaces\DEV-PERM -os win32 -ws win32 -arch x86 -launcher C:\tools\eclipse\eclipse.exe -name Eclipse -showsplash 600 -exitdata 5fc_80 -vm c:\java\jdk1.5.0_06\jre\bin\javaw.exe
Peco, thanks for the headsup on 5.5M1, I’ve downloaded but not yet had change to install/upgrade to it, I don’t think my issue is with Ant’s leak because my mode that style of operation hasn’t changed. The big thing that has has been this “serious” refactoring exercise over a number of JSPs. I’ll monitor the situation in 5.5M1 when I get chance.
Thanks
Jonathan
Riyad KallaMemberJonathan,
Please be sure you grabbed the 5.5M1 All-In-One installer to make sure you will be running with the most optimized setup to make sure the leak isn’t there anymore. We appreciate you rhelp tracking this down. -
AuthorPosts