Java.lang.OutOfMemoryError
From Resin 3.0
(Difference between revisions)
Line 1: | Line 1: | ||
− | [[Category:Memory]] | + | [[Category:Troubleshooting]] [[Category:Memory]] |
− | |||
− | |||
− | |||
==Types of Memory== | ==Types of Memory== | ||
Line 12: | Line 9: | ||
* mmap memory. On Unix, .jar files are mmapped taking up virtual memory. | * mmap memory. On Unix, .jar files are mmapped taking up virtual memory. | ||
* Thread stacks. Each thread has preallocated stack memory. The default is 8m. | * Thread stacks. Each thread has preallocated stack memory. The default is 8m. | ||
+ | |||
+ | =See Also= | ||
+ | |||
+ | * [[Garbage Collection]] |
Revision as of 02:11, 1 December 2005
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.