MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
jasper.floor
Post subject: MyEclipse 7 constantly running out of memory  PostPosted: Jan 06, 2009 - 11:31 AM



Joined: Dec 16, 2008
Posts: 20

I recently installed Eclipse 3.4, MyEclipse 7 on a debian Lenny 64 bit system with 4gb of memory. I have only installed subversive in addition to MyEclipse. I am using jdk 6u11.

I am constantly getting:

MyEclipse has detected that less than 5% of the 682MB of PS Old Gen (Heap memory) space remains.

It is strongly recommended that you exit and restart MyEclipse with new virtual machine
memory paramters to increase this memory. Failure to do so can result in data loss.

The recommended Eclipse memory parameters are:
eclipse.exe -vmargs -Xms128M -Xmx512M -XX:PermSize=64M -XX:MaxPermSize=128M

My eclipse ini:
-startup
plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.0.101.R34x_v20080731
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vmargs
-Xms256m
-Xmx1024m
-Xverify:none
-XX:PermSize=256M
-XX:MaxPermSize=512M


I have tried different values but nothing seems to matter.
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: MyEclipse 7 constantly running out of memory  PostPosted: Jan 06, 2009 - 01:30 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 8012

jasper.floor,
Did you setup MyEclipse using the 64 bit all in one installer?

Can you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me.

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
jasper.floor
Post subject: RE: MyEclipse 7 constantly running out of memory  PostPosted: Jan 07, 2009 - 08:43 AM



Joined: Dec 16, 2008
Posts: 20

I installed MyEclipse using an archived update from within Eclipse.


*** Date:
Wednesday, January 7, 2009 9:42:41 AM CET

** System properties:
OS=Linux
OS version=2.6.26
Java version=1.6.0_11


*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 7.0
Build id: 7.0-20081201


*** Eclipse details:
Eclipse SDK

Version: 3.4.1
Build id: M20080911-1700




Eclipse Project SDK

Version: 3.4.1.R34x_v20080827-7O7S78C2J40sK2o_ALcK8tLN_yZSJeg0P-3EtL4Ra90kv
Build id: M20080911-1700


Eclipse Plug-in Development Environment

Version: 3.4.1.r341_v20080731-7T7U0E9mlRIuGUYviF_VP
Build id: M20080703-0800


Eclipse Platform

Version: 3.4.1.r341_v20080731-9I96EiDElYevwz-p1bP5z-NlAaP7vtX6Utotqsu
Build id: M20080911-1700


Eclipse Graphical Editing Framework GEF

Version: 3.4.1.v20080806-67718083A56B4H2A3213573
Build id: 200809101400


Eclipse RCP

Version: 3.4.100.r341_v20080814-989JESIEdAciFYfkZZsBfSwQ2341
Build id: M20080703-0800


Eclipse Java Development Tools

Version: 3.4.1.r341_v20080709-0800-7o7tEAfEF_U5qyUgrb2HAp539P97
Build id: M20080709-0800




Eclipse startup command=-os
linux
-ws
gtk
-arch
x86_64
-showsplash
-launcher
/home/jasper.floor/apps/ganymede/eclipse
-name
Eclipse
--launcher.library
/home/jasper.floor/apps/ganymede//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.0.101.R34x_v20080731/eclipse_1115.so
-startup
/home/jasper.floor/apps/ganymede//plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar
-exitdata
48007
-vm
/home/jasper.floor/apps/ganymede/jre/bin/java
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: MyEclipse 7 constantly running out of memory  PostPosted: Jan 07, 2009 - 03:52 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 8012

jasper.floor,
I would suggest you setup MyEclipse using the 64 bit All in One installer and test this again. ME was not supported officially on the 64 bit OS till we came out with the 64 bit All in One installer.

Let me know if the problem persists.

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
jasper.floor
Post subject: RE: MyEclipse 7 constantly running out of memory  PostPosted: Jan 08, 2009 - 11:25 AM



Joined: Dec 16, 2008
Posts: 20

I haven't used the all-in-one-installer for 3 reasons. One (minor) thing is that it is nice for new installs here that we don't have to wait for a 600mb download. Another thing is that I don't need or want the packaged jdk. Most important of all however is that pulse simply doesn't work for me. It hasnt' in the past and it hasn't gotten better. I get the following popup:

An unexpected failure occurred inializing the installer.

java.lang.NoClassDefFoundError: com.genuitec.pulse2.common.http.PulseCommunications

and the following terminal output:

Architecture: Linux/x86_64
Redirecting System.out and System.err to /home/jasper.floor/Genuitec/Common/logs/installer-console.log
Could not redirect System.out and System.err!!!
8-Jan-09 12:16:19 PM com.oaklandsw.http.GlobalState <init>
INFO: Oakland Software Java HTTP Client 2.5.1

Now I neither need nor want pulse on my computer. I have Synaptic or for eclipse the internal update manager. The problems with pulse are doubtlessly related to my setup and I don't expect you to support all possible architectures. I hope pulse isn't your ultimate solution for distribution because I really have no desire to spend time on Pulse.

I will try reinstalling Ganymede classic not using the archived update but iinstead the eclipse update manager.
 
 View user's profile Send private message  
Reply with quote Back to top
henk
Post subject: Re: RE: MyEclipse 7 constantly running out of memory  PostPosted: Jan 09, 2009 - 08:13 PM



Joined: Dec 15, 2003
Posts: 158

support-nipun wrote:
jasper.floor,
I would suggest you setup MyEclipse using the 64 bit All in One installer and test this again. ME was not supported officially on the 64 bit OS till we came out with the 64 bit All in One installer..


For reference, I also installed Eclipse 3.4/MyEclipse 7.0/JDK6u11 on Lenny 64 bits using the archived update and experienced no problems.

Jasper's implicit suggestion to use apt-get seems interesting though. Is there someway you can setup a repository for Debian (including Ubuntu) instead of Pulse?

I mainly see 2 problems with pulse:

The first problem is that it doesn't work. This is major really.
The second problem is that even if Pulse would work, it introduces yet another update manager. On Linux it's already bad enough that Eclipse came with its own update/package-like management system. Yet another one to deal with is perhaps not something that all users are happy with.

I'm also interested in learning what the all-in-one installer would possibly do differently from the archived update site.
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: Re: RE: MyEclipse 7 constantly running out of memory  PostPosted: Jan 12, 2009 - 06:13 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 8012

jasper.floor,
I checked with the dev team and they have asked me to point you to the archive update installer and that should work for you. You can grab the archive update for the download page.
http://www.myeclipseide.com/modules.php?name=Downloads&file=dl_options

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
henk
Post subject: Re: RE: Re: RE: MyEclipse 7 constantly running out of memory  PostPosted: Jan 12, 2009 - 07:39 PM



Joined: Dec 15, 2003
Posts: 158

support-nipun wrote:
jasper.floor,
I checked with the dev team and they have asked me to point you to the archive update installer and that should work for you.


Didn't he already tried that?

See this:

jasper.floor wrote:
I installed MyEclipse using an archived update from within Eclipse.
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: Re: RE: Re: RE: MyEclipse 7 constantly running out of me  PostPosted: Jan 13, 2009 - 09:20 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 8012

henk,
Thank for pointing this out. My bad.

@jasper.floor - Ideally the archive update site installer should work for you. Did you run into the pulse errors mentioned above with pulse 2?

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
jasper.floor
Post subject: RE: Re: RE: Re: RE: MyEclipse 7 constantly running out of me  PostPosted: Jan 15, 2009 - 01:52 PM



Joined: Dec 16, 2008
Posts: 20

It seems to have stabilised to about 1 memory error a day, which is workable if annoying. I have never gotten pulse to work in any version but I have tried it. I'm not against Pulse as such I just don't need yet another package manager.

I am using my old project workspace, but the problem does persist if I do a clean workspace and a new checkout.
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: Re: RE: Re: RE: MyEclipse 7 constantly running out of me  PostPosted: Jan 15, 2009 - 08:00 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 8012

Maybe you could setup another copy of MyEclipse using the 64 bit all in one installer and evaluate it when you get time. We have improved the pluse experience and hopefully you will not run into the errors you were facing earlier.

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
gary.heithold
Post subject: RE: Re: RE: Re: RE: MyEclipse 7 constantly running out of me  PostPosted: Jan 16, 2009 - 04:05 PM
Veteran Member
Veteran Member


Joined: Jun 24, 2004
Posts: 5

FYI...I get the same low memory error messages using the 64 bit version under fedora 10, which I installed using the 64 bit all in one installer. I found the frequency of the low memory messages seems to be related to the number of projects (4-5) and size of projects (as large as 600 files) currently open which never occurred under earlier versions of MyEclipse (6.x) running the 32 bit version on the same 64 bit system with 4G of memory. Seems to be memory management issues with the 64 bit release...the heap size climbs to over 400M during the initial work space project build process which usually generates the low memory message unless I close all but one of the projects.
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: Re: RE: Re: RE: MyEclipse 7 constantly running out of me  PostPosted: Jan 16, 2009 - 08:33 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 8012

Can you guys turn on the heap space monitor (it's under Window > Prefs > General) and restart and watch the monitor and see what operations cause it to spike. That will help us in resolving this issue.

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
jasper.floor
Post subject: RE: Re: RE: Re: RE: MyEclipse 7 constantly running out of me  PostPosted: Jan 20, 2009 - 02:18 PM



Joined: Dec 16, 2008
Posts: 20

I have quite incidentally been working in a workspace with only two projects open, whereas before I was working with workspaces with 8 or more projects. That does seem to have a positive effect on the memory management. I still have the bigger workspaces and so I may meet this problem again, especially around release time. I will monitor the heap size however and let you know what I find.
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: Re: RE: Re: RE: MyEclipse 7 constantly running out of me  PostPosted: Jan 20, 2009 - 08:35 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 8012

Thank you.

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits