Java.lang.OutOfMemoryError

From Resin 3.0

(Difference between revisions)
Jump to: navigation, search
(migration)
 
(2 intermediate revisions by one user not shown)
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 00:08, 21 February 2006

  1. redirect OutOfMemoryError
Personal tools