Hi,
Please verify that your
eclipse.ini file contains the following directives:
--launcher.XXMaxPermSize
256m
-vmargs
-Xms40m
-Xmx256m
The 1st one
should restrict the amount of memory that will be used of allocating Java
objects to 256 Mb
We started using it when we
switched to eclipse 3.3 and we started getting OutOfMemory problems
Let me know if it helps
In addition, is your
Gentoo 64bit or 32bit?
Assaf A.
From: pdt-dev-bounces@xxxxxxxxxxx
[mailto:pdt-dev-bounces@xxxxxxxxxxx] On
Behalf Of Lukasz Ochoda
Sent: Monday, August 20, 2007 4:24
PM
To: PDT
Developers
Subject: RE: [pdt-dev] Memory
usage?
Hi,
I think that it is
problem with Java. Eclipse, Zend Studio, Firefox and other java based
application use a lot of memory… However I can see that if your machine
needs more memory, than Java starts cleaning up unused memory.
From: pdt-dev-bounces@xxxxxxxxxxx
[mailto:pdt-dev-bounces@xxxxxxxxxxx] On
Behalf Of Niklas Nilsson
Sent: Monday, August 20, 2007 9:12
AM
To: PDT
Developers
Subject: Re: [pdt-dev] Memory
usage?
I had a similar problem and
noticed that the spelling had been turned on after updating at some point.
After turning it off everything went smoothly, perhaps that's the problem in
your case as well?
/Niklas Nilsson
Simon Roby wrote:
I've been a PDT user for more than a month now, and while I think it's
pretty good overall (especially considering it has not reached v1.0
yet), the memory requirements are starting to drive me nuts. When
running PHP projects Eclipse keeps burning more and more memory as I
keep it running. I have about 6 projects total in my workspace, and
usually not more than 3 are open at a time, and memory usage regularly
reaches above 500MB daily. At that point I usually restart Eclipse
because everything goes to swap hell since my station has 1GB of RAM,
which is usually sufficient for my needs, but PDT throws that out of
the window. Are there any significant memory use optimizations coming
soon in PDT? If not I'm eventually going to stop using it because the
current situation is almost unacceptable.
(Running under Gentoo Linux with Sun's 1.6.0 JVM)
Regards,