wood burning stoves 2.0*
The moose likes IDEs, Version Control and other tools and the fly likes java.lang.OutOfMemoryError Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "java.lang.OutOfMemoryError" Watch "java.lang.OutOfMemoryError" New topic
Author

java.lang.OutOfMemoryError

Sharad Mittal
Greenhorn

Joined: Apr 08, 2004
Posts: 5
I build a project with Ant in Eclipse, I get java.lang.OutOfMemoryError.
Now, to solve it i need to increase the size of heap of JVM.
Can anyone know that how can i do that in Eclipse ???
Dave Hewy
Ranch Hand

Joined: Aug 21, 2003
Posts: 93
You can use these switches when calling Eclipse...
-vmargs -Xmx256M
.. to increase heap to 256Mb
There's some stuff in the help about this, search for vmargs.
HTH
Dave
Sharad Mittal
Greenhorn

Joined: Apr 08, 2004
Posts: 5
Thanx Dave,
It Worked.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.lang.OutOfMemoryError
 
Similar Threads
javax.transaction. TransactionRolledback Exception: CORBA
Eclipse, Eclemma
exception & loop
Caused by: java.lang.OutOfMemoryError: PermGen space ......what kind of error is this?
Increase JVM heap size of eclipse