Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Help! How do I give more memory to Eclipse?
Help! How do I give more memory to Eclipse? [message #76859] Wed, 16 July 2003 14:31 Go to next message
Eclipse UserFriend
Originally posted by: please.no.spam.com

I get an Out of Memory Error often in Eclipse. Especially after running
hundreds of junit test cases.

How can I allocate more memory to eclipse to use? Is there some setting? I
remember NetBeans had one.
Re: Help! How do I give more memory to Eclipse? [message #76876 is a reply to message #76859] Wed, 16 July 2003 14:38 Go to previous messageGo to next message
Eclipse UserFriend
Mark Simpson wrote:
> I get an Out of Memory Error often in Eclipse. Especially after running
> hundreds of junit test cases.
>
> How can I allocate more memory to eclipse to use? Is there some setting? I
> remember NetBeans had one.
>

You would have solved your problem in less time then it took you to
write that mail and sit and wait for an answer if you cared to search
the archives yourself or use the eclipsewiki-site:
http://eclipsewiki.swiki.net/1
http://eclipse.org/search/search.cgi

Stein
Re: Help! How do I give more memory to Eclipse? [message #77139 is a reply to message #76859] Thu, 17 July 2003 09:19 Go to previous message
Eclipse UserFriend
http://eclipsewiki.swiki.net/89 :

You need to supply your VM with more heap space. This can be achieved by
passing an extra VM argument when eclipse is started, like this:

eclipse -vmargs -Xmx256M

This assigns a java heap size of 256MB. Since the -X arguments aren't a
specified standard, this argument may have a different format for other VMs.
Check your VM documentation for more details. Some VMs are able to handle a
growing heap better than others, so setting the heap size is not always
necessary.

-jv



"Mark Simpson" <please.no@spam.com> schrieb im Newsbeitrag
news:bf45mk$skn$1@eclipse.org...
> I get an Out of Memory Error often in Eclipse. Especially after running
> hundreds of junit test cases.
>
> How can I allocate more memory to eclipse to use? Is there some setting? I
> remember NetBeans had one.
>
Previous Topic:Java editor in API
Next Topic:PDE Junit help
Goto Forum:
  


Current Time: Fri Jun 06 00:18:59 EDT 2025

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

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

Back to the top