- This topic has 8 replies, 2 voices, and was last updated 17 years, 1 month ago by
Loyal Water.
-
AuthorPosts
-
Gareth42MemberI am running MyEclipse 6.0.1 GA with Eclipse Classic 3.3.2 on a MacBook Pro 2.16 GHz Core Duo with 2GB of memory running 10.5.2 and keep getting memory problems. Specifically
Available Memory Is Low
MyEclipse has detected that less than 5% of the 64MB of Perm Gen (Non-heap memory) space remains
etc etc
I have tried setting that parameters in the eclipse.ini file but this has no noticeable effect. Even with nothing else running I am lucky to go 10 minutes without the message popping up. Typically it is 5 minutes. It’s also happening with previous versions of ME too now. Is it something to do with 10.5.2? Is there an optimum configuration for Macs? Are there still Mac based Java developers using ME successfully.
When I start up Parallels emulator on the same machine and run Windows with 1GB allocated ME runs without problems in there but slower obviously. Is Windows the ONLY platform for Java/MyEclipse development nowadays or is it just me having these sorts of problems?
I’ve also tried looking at using Solaris and many implementation of Linux but without success. If anyone can point me to an environment that is easy to set up or has detailed notes on how to install and set up MyEclipse then I will gladly try it.
Thanks,
Gareth
May 7, 2008 at 10:25 am #284754
Loyal WaterMemberGareth,
Please refer to this thread and check if your issue get resolved.
https://www.genuitec.com/forums/topic/error-message-problem-with-permgen-non-heap-memory/Let me know if the problem persists.
May 7, 2008 at 12:55 pm #284772
Gareth42MemberThanks for that, it’s just the same as my problem. I had already tried setting those parameters but I have checked them and they are correct and I still get the same problem. When it happens the box in the bottom right hand corner says 47M of 127M. I could guess what this is supposed to indicate but as it stands it doesn’t seem to make sense.
Any more ideas?
Gareth
May 9, 2008 at 6:40 am #284829
Gareth42MemberI assume as the solution to this problem doesn’t work for me I have to look at alternatives to running on OS X.
To run Eclipse with MyEclipse on Linux what is the recommended implementation of Linux? I already have Ububtu installed but I’m quite happy to use another if it works better. Also what versions of Eclipse and MyEclipse should I use? I will also need to use an application server, currently I use JBoss but again I’m happy to switch if necessary. I also use MySQL which I assume runs fine on Linux.
Any help will be gratefully received.
Gareth
May 9, 2008 at 3:56 pm #284860
Loyal WaterMemberGareth
The error you keep getting (64mb perm gen) implies that the arguments are not getting read from the eclipse.ini file correctly. Can you paste the contents of the eclipse.ini file here for me so that I can test this at my end as well..May 10, 2008 at 3:50 am #284869
Gareth42MemberNipun,
Here’s the contents of my eclipse.ini file:
-vmargs
-Dosgi.splashLocation=/Applications/MyEclipse 6.0 for 3.3.2_classic/MyEclipse 6.0/eclipse/MyEclipseSplash.bmp
-showsplash
org.eclipse.platform-Xdock:icon=../Resources/Eclipse.icns
-XstartOnFirstThread
-Xms128m
-Xmx512m
-XX:PermSize=64m -XX:MaxPermSize=128m -Xdock:name=MyEclipse
-Dorg.eclipse.swt.internal.carbon.smallFontsSorry if I seem a little angry but when things go wrong I spend a lot of time trying to fix them and then search for answers on the web and post on here as a last resort so I have spent a lot of time on this. I hope you have some new ideas.
Gareth
May 12, 2008 at 7:46 am #284888
Loyal WaterMemberGareth,
I know it gets irritating when you you can’t get over minor issues like these but I’m extremely sorry this is taking so long. In you eclipse.ini file, you have “-XX:PermSize=64m -XX:MaxPermSize=128m -Xdock:name=MyEclipse ” on a single line. If you went through the link I posted earlier, the user had mentioned that having these arguments on different lines instead of the same line helped him resolve the issue. I guess you missed that part in the thread. I would like you to edit your eclipse.ini file to look like this:--vmargs -Dosgi.splashLocation=/Applications/MyEclipse 6.0 for 3.3.2_classic/MyEclipse 6.0/eclipse/MyEclipseSplash.bmp -showsplash org.eclipse.platform -Xdock:icon=../Resources/Eclipse.icns -XstartOnFirstThread -Xms128m -Xmx512m -XX:PermSize=64m -XX:MaxPermSize=128m -Xdock:name=MyEclipse -Dorg.eclipse.swt.internal.carbon.smallFonts
Hope that helps.
May 12, 2008 at 1:50 pm #284911
Gareth42MemberI did go through that link before but got the impression an addition space was the cause of his problem, I didn’t realise separate lines was actually the solution. I do now. Putting the arguments on separate lines cured the problem completely for me so thank you.
The other guy did suggest allowing the users to set these parameters through some sort of gui interface. Good idea but can I suggest that as this seems to be necessary for running on certain configurations that modifying the default setting would also be worth considering.
Thanks once again.
Gareth
May 12, 2008 at 3:01 pm #284915
Loyal WaterMemberYour welcome.
-
AuthorPosts