Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Sooo Slow on OSX (Asked by many, answered by none???)
Sooo Slow on OSX (Asked by many, answered by none???) [message #261614] Mon, 21 July 2008 17:27 Go to next message
Eclipse UserFriend
Originally posted by: ben.benbogart.com

Hello All,

I've been searching for a while now an I have found countless examples of
people asking this questions, but none of the threads I have read have an
answer.

I recently installed Version: 3.3.2, Build id: M20080221-1800 on my Mac
(OSX 10.5.4). Conceptually I love Eclipse... but it is sooooooo slow.
Scrolling takes at least a couple of seconds to catch up. When typing the
screen is usually a few characters behind. Spotlight is not indexing my
project as suggested in the setup guide. I've upped its memory to 1024m
in the eclipse.ini file.

Has anyone figured this out. What can I do to get eclipse to run a a
decent speed? Or can someone point me to a discussion where this was
resolved?

Thanks,
Ben
Re: Sooo Slow on OSX (Asked by many, answered by none???) [message #261620 is a reply to message #261614] Mon, 21 July 2008 20:11 Go to previous messageGo to next message
Matthew Hall is currently offline Matthew HallFriend
Messages: 368
Registered: July 2009
Senior Member
Ben Bogart wrote:
> Hello All,
>
> I've been searching for a while now an I have found countless examples
> of people asking this questions, but none of the threads I have read
> have an answer.
>
> I recently installed Version: 3.3.2, Build id: M20080221-1800 on my Mac
> (OSX 10.5.4). Conceptually I love Eclipse... but it is sooooooo slow.
> Scrolling takes at least a couple of seconds to catch up. When typing
> the screen is usually a few characters behind. Spotlight is not
> indexing my project as suggested in the setup guide. I've upped its
> memory to 1024m in the eclipse.ini file.
>
> Has anyone figured this out. What can I do to get eclipse to run a a
> decent speed? Or can someone point me to a discussion where this was
> resolved?
>
> Thanks,
> Ben
>

Have you tried increasing the memory allocated to Eclipse? I have found
this to make a big difference on Windows.

In the Eclipse install folder, edit the file eclipse.ini, and modify the
minimum and maximum memory sizes. These are the -Xms and -Xmx
arguments. On my machine I have these set to 512m and 768m respectively.

Matthew
Re: Sooo Slow on OSX (Asked by many, answered by none???) [message #261623 is a reply to message #261620] Mon, 21 July 2008 20:21 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ben.benbogart.com

Yep, I had already tried that (says so in my post). Its at 1024M. Should
be enough eh?

Ben
Re: Sooo Slow on OSX (Asked by many, answered by none???) [message #261625 is a reply to message #261623] Mon, 21 July 2008 20:31 Go to previous messageGo to next message
Eclipse Webmaster is currently offline Eclipse WebmasterFriend
Messages: 607343
Registered: July 2009
Senior Member
Ben Bogart wrote:
> Yep, I had already tried that (says so in my post). Its at 1024M.
> Should be enough eh?
>
> Ben

How much RAM do you have? Perhaps 1024M is too much and your system is
paging?


--

Eclipse WebMaster - webmaster@eclipse.org
Questions? Consult the WebMaster FAQ at
http://wiki.eclipse.org/index.php/Webmaster_FAQ
View my status at http://wiki.eclipse.org/index.php/WebMaster
Re: Sooo Slow on OSX (Asked by many, answered by none???) [message #261631 is a reply to message #261625] Mon, 21 July 2008 21:03 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ben.benbogart.com

I have 2Gb ram. According to the Activity monitor, after increasing the
eclipse memory yet again to 1280M I still have ~200Mb free.

I just got an error while eclipse was building a workspace. It started
with "An Out of Memory error has occurred....". So, memory at least seems
to be an issue.

I restarted eclipse and watched the memory usage until it gave me the
error. The memory usage grew to about 300Mb (with about 200Mb) still free
and I got the out of memory error.

So...

perhaps eclipse isn't reading the my ini file correctly? Is there a way to
see what eclipse thinks its memory usage limit is?

thanks for helping!
Ben
Re: Sooo Slow on OSX (Asked by many, answered by none???) [message #261633 is a reply to message #261631] Mon, 21 July 2008 21:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: codeslave.ca.ibm.com

Memory isn't just about heap, it's about permgen space too.

http://wiki.eclipse.org/IRC_FAQ#I.27m_having_memory.2C_heap. 2C_or_permgen_problems.2C_what_can_I_do.3F

Try increasing both.

Nick

Ben Bogart wrote:
> I have 2Gb ram. According to the Activity monitor, after increasing the
> eclipse memory yet again to 1280M I still have ~200Mb free.
>
> I just got an error while eclipse was building a workspace. It started
> with "An Out of Memory error has occurred....". So, memory at least
> seems to be an issue.
>
> I restarted eclipse and watched the memory usage until it gave me the
> error. The memory usage grew to about 300Mb (with about 200Mb) still
> free and I got the out of memory error.
>
> So...
>
> perhaps eclipse isn't reading the my ini file correctly? Is there a way
> to see what eclipse thinks its memory usage limit is?
>
> thanks for helping!
> Ben
>

--
Nick Boldt :: Release Engineer, IBM Toronto Lab
Eclipse Modeling :: http://www.eclipse.org/modeling
http://wiki.eclipse.org/index.php/User:Nickb
Re: Sooo Slow on OSX (Asked by many, answered by none???) [message #261637 is a reply to message #261633] Mon, 21 July 2008 21:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ben.benbogart.com

Ok Nick!

Thank you. Your answer wasn't exactly the answer to the problem but it
let me right to it. I couldn't ask for more.

The problem was exactly the opposite. I had set the the PermSize instead
of the Xmx size. I'm not sure why I set that in the first place (probably
distracted) but once I had started changing that setting I just kept
changing the same one. Now things are super speedy. My current memory
args are:

-Xms40m
-Xmx768m
-XX:PermSize=64m
-XX:MaxPermSize=128m

Thanks again to everyone for all the help. This is certainly the fastest
I've ever gotten community help. Now I'm totally sold on Eclipse.

Ben
Re: Sooo Slow on OSX (Asked by many, answered by none???) [message #261643 is a reply to message #261637] Mon, 21 July 2008 22:34 Go to previous message
Eclipse UserFriend
Originally posted by: codeslave.ca.ibm.com

Certainly the best IDE & community money can't buy. :)

<plug mode="shameless"> (Unless you want to donate money, of course.
Then the Foundation is happy to accept it, and in exchange you get
access to a faster download server. http://www.eclipse.org/donate/) </plug>


Ben Bogart wrote:
> Ok Nick!
>
> Thank you. Your answer wasn't exactly the answer to the problem but it
> let me right to it. I couldn't ask for more.
>
> The problem was exactly the opposite. I had set the the PermSize
> instead of the Xmx size. I'm not sure why I set that in the first place
> (probably distracted) but once I had started changing that setting I
> just kept changing the same one. Now things are super speedy. My
> current memory args are:
>
> -Xms40m
> -Xmx768m
> -XX:PermSize=64m
> -XX:MaxPermSize=128m
>
> Thanks again to everyone for all the help. This is certainly the
> fastest I've ever gotten community help. Now I'm totally sold on Eclipse.
>
> Ben
>
>

--
Nick Boldt :: Release Engineer, IBM Toronto Lab
Eclipse Modeling :: http://www.eclipse.org/modeling
http://wiki.eclipse.org/index.php/User:Nickb
Previous Topic:JSP parser error
Next Topic:not to close parent dialog on cancel of child wizard
Goto Forum:
  


Current Time: Sat Aug 31 23:09:51 GMT 2024

Powered by FUDForum. Page generated in 0.06773 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top