File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse and OutOfMemoryError" Watch "Eclipse and OutOfMemoryError" New topic
Author

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

Cheers,


--Tim
[ 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: http://aspose.com/file-tools
 
subject: Eclipse and OutOfMemoryError