Java.lang.OutOfMemoryError

From Resin 3.0

Revision as of 17:57, 7 November 2005 by 70.231.165.244 (Talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


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.
Personal tools