facebook

OS X Memory problems

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #284749 Reply

    Gareth42
    Member

    I 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

    #284754

    Loyal Water
    Member

    Gareth,
    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.

    #284772

    Gareth42
    Member

    Thanks 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

    #284829

    Gareth42
    Member

    I 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

    #284860

    Loyal Water
    Member

    Gareth
    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..

    #284869

    Gareth42
    Member

    Nipun,

    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.smallFonts

    Sorry 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

    #284888

    Loyal Water
    Member

    Gareth,
    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.

    #284911

    Gareth42
    Member

    I 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

    #284915

    Loyal Water
    Member

    Your welcome.

Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: OS X Memory problems

You must be logged in to post in the forum log in