wood burning stoves*
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 Android Security Essentials Live Lessons this week in the Android 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: java.lang.OutOfMemoryError
 
Similar Threads
exception & loop
catalina.out and java.lang.OutOfMemoryError
How Do I Find a Memory Leak?
OutOfMemoryError in Accessing CICS Transaction from JAVA in WebSphere 3.5
catalina.out and java.lang.OutOfMemoryError