wood burning stoves 2.0*
The moose likes Beginning Java 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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "java.lang.OutOfMemoryError" Watch "java.lang.OutOfMemoryError" New topic
Author

java.lang.OutOfMemoryError

Pete Low
Greenhorn

Joined: May 25, 2005
Posts: 10
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

Joined: Mar 09, 2005
Posts: 39
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.lang.OutOfMemoryError