- This topic has 3 replies, 2 voices, and was last updated 13 years, 2 months ago by support-joy.
-
AuthorPosts
-
DaftMuleMemberI am getting various memory issues with MyEclipse 8.6.1 which are starting to make the IDE somewhat unusable for me.
I use ME to develop web apps using Java/JSP’s and the memory issues I am getting seem to stem from the way we have our projects set up and running. The setup means that I have to have around 10 projects open in my workspace. I have added a custom build script to the parent project which is then referenced by the various child projects so that, in combination with an exploded deployment, the projects are built into one webapp in tomcat on the fly.
This is an evolving process so as time goes on we are adding new child projects to the parent. As the number of projects open in my workspace has increased, I started getting more and more out of memory errors and heap space errors. To combat this, I have been increasing the memory allocations at startup. My current memory settings are:
-Xmx1024M
-Xms1024M
-XX:PermSize=256M
-XX:MaxPermSize=384M
-XX:ReservedCodeCacheSize=128MWith these settings though I get regular, silent crashes of MyEclipse…silent in that the IDE just closes without any warning. I had a hunt around in the logs and each time this happens I get the following log generated:
#
# An unexpected error has been detected by Java Runtime Environment:
#
# java.lang.OutOfMemoryError: requested 1024000 bytes for GrET in C:\BUILD_AREA\jdk6_13\hotspot\src\share\vm\utilities\growableArray.cpp. Out of swap space?
#
# Internal Error (allocation.inline.hpp:42), pid=6920, tid=4132
# Error: GrET in C:\BUILD_AREA\jdk6_13\hotspot\src\share\vm\utilities\growableArray.cpp
#
# Java VM: Java HotSpot(TM) Client VM (11.3-b02 mixed mode windows-x86)
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#…there’s then a long stack trace after this header.
The above log error occurs whether I am using 64 or 32 bit jdk’s(i have the 32 bit install of MyEclipse) and I have tried different builds of the jdk 1.6 to no avail.
If I reduce my XMX/XMS settings to somewhere around 768M, I don’t tend to get these silent closures of the IDE. However, my IDE becomes very slow and unusable as it doesn’t take long for the heap indicator to show that all the heap space is being used up and I start getting the memory warnings and errors popping up again. It even seems to get to the point where it can’t kick off threads for garbage collection!
1) Is there a max allowable setting for XMX/XMS which I am breaking by trying to allocate a gig of memory?
I am going to change the JDK used at startup (defined in the myeclipse.ini) to a later version and see if that improves things. re the silent death’s.
Any ideas on this one? I’m stumped.
support-joyMemberDaftMule,
Sorry to hear you are running into this issue. I would recommend you follow the recommendations here – https://www.genuitec.com/forums/topic/troubleshooting-memory-amp-performance-issues/
I think this could be related to a bad workspace issue. Could you try the following – Start MyEclipse using MyEclipse -data c:\tempws and see if that starts with a fresh workspace. In case your new workspace exhibits same problem, then I am afraid I have to recommend you to re-install. You could use pulse for a faster re-install. Here are the steps –
1. Open Pulse (Start > Programs > Pulse > Pulse Explorer)
2. Login to pulse
3. Select “Eclipse – Galileo” realm from top left hand corner dropdown
4. Select “MyEclipse 8.6” profile from “My Profiles”, right click on the same and click on [re-install and run]
5. This will open a wizard which will guide you through the rest of the stepsLet me know how this works for you.
DaftMuleMemberHi,
Sorry for the late reply. I have re-installed and things seem to be ok for now. I am suspicious though as when I chose the re-install and run option, it failed with various dependency issues. As it seemed to have destroyed my install anyway as a result of trying this, I chose “install and run”, the only option available and that seemed to work ok.
We shall see if this is a long term solution but thank you for your help.
support-joyMemberDaftMule,
Good to hear you are all set. Let me know if you have any other issues.
-
AuthorPosts