Java.lang.OutOfMemoryError

From Resin 3.0

(Difference between revisions)
Jump to: navigation, search
 
(migration)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Memory]]
+
#redirect [[OutOfMemoryError]]
 
+
==See Also==
+
 
+
[[Garbage Collection]]
+
 
+
==Types of Memory==
+
 
+
* Normal heap.  Use -J-verbosegc to debug this
+
* Permanent heap.  Configured with -XX:MaxPermSize.  The default is generally too small
+
* malloc() memory.  Used by JNI and in small parts by the JVM.
+
* mmap memory.  On Unix, .jar files are mmapped taking up virtual memory.
+
* Thread stacks.  Each thread has preallocated stack memory.  The default is 8m.
+

Latest revision as of 00:08, 21 February 2006

  1. redirect OutOfMemoryError
Personal tools