This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse and OutOfMemoryError Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse and OutOfMemoryError" Watch "Eclipse and OutOfMemoryError" New topic

Eclipse and OutOfMemoryError

Manish Hatwalne
Ranch Hand

Joined: Sep 22, 2001
Posts: 2578

Recently I procured eclipse 3.0M8 and having lots of trouble with it since. I tried to open one class did Refactor and rename. It threw OutOfMemoryError. It refuses to compile with OutOfMemoryError. I wonder what's wrong? Is anybody else experiencing similar problems?

BTW, I have 256 MB RAM.

- Manish
Tim West
Ranch Hand

Joined: Mar 15, 2004
Posts: 539
You can give Eclipse more memory with the -Xmx and -Xms options. However, with only 256Mb RAM you'll have trouble getting it any more - Eclipse and your OS will use almost that amount anyway. Check out how much memory Eclipse uses when running normally, and see if you can reasonably allocate it any more.

I found this article useful to learn about Eclipse memory consumption. I also want to try this memory-monitor plugin, but my stupid work content filter won't let me download zip files.

I have 512 RAM and running Win2k, Eclipse and Weblogic (App server) 7 almost kills the computer. Gotta love watching the hard-drive light flash when it's paging...


[ June 09, 2004: Message edited by: Tim West ]
Manish Hatwalne
Ranch Hand

Joined: Sep 22, 2001
Posts: 2578

How would I set -Xmx and -Xms options? I am running eclipse on Windows 2000.

- Manish
I agree. Here's the link:
subject: Eclipse and OutOfMemoryError
Similar Threads
Eclipse, Eclemma
Increase eclipse memory
eclipse3.5 giving OutOfMemory/Permgen after installing plugin for Spring IDE
Ant build - OutOfMemoryError in eclipse