Java.lang.OutOfMemoryError

From Resin 3.0

(Difference between revisions)
Jump to: navigation, search
m (OutOfMemoryError moved to Java.lang.OutOfMemoryError)
(migration)
 
Line 1: Line 1:
[[Category:Troubleshooting]] [[Category:Memory]]
+
#redirect [[OutOfMemoryError]]
 
+
 
+
==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.
+
 
+
=See Also=
+
 
+
* [[Garbage Collection]]
+

Latest revision as of 17:08, 20 February 2006

  1. redirect OutOfMemoryError
Personal tools