Memory Management
Memory management includes managing the heap, certain memory pools, and garbage collection. This section focuses on managing the heap. You can view heap information in the metric browser or in the Memory tab for a given node as directed in Monitoring JVM Information.
The size of the JVM heap can affect performance and should be adjusted if needed:
- A heap that is too small will cause excess garbage collections and increases the chances of
OutOfMemory
exceptions. - A heap that is too big will delay garbage collection and stress the operating system when needing to page the JVM process to cope with large amounts of live data.
See Garbage Collection.