Java.lang.OutOfMemoryError

From Resin 3.0

Revision as of 16:59, 6 December 2005 by Sam (Talk | contribs)
Jump to: navigation, search


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

Personal tools