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 java.lang.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 "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