Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.lang.OutOfMemoryError

 
Sharad Mittal
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanx Dave,
It Worked.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic