Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

java.lang.OutOfMemoryError  RSS feed

 
Pete Low
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

I was doing a compilation and the following msg appears :


The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError

Any ideas how I can solve this?
 
Arjun K
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pete,

OOME during compile time comes only when JVM doesn't have enough Virtual Memory to do compilation.

Try increasing the heap and stack sizes with -J-Xms, -J-Xmx, -J-XX:NewSize,
-J-XX:MaxNewSize VM options.



HTH,
Arjun K.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!