Memory and CPU usage monitors

You can monitor memory and process CPU time using system tools such as top on UNIX systems or the Task Manager or Performance Monitor on Windows. Many profiling tools such as OptimizeIt track memory and can help you find the source of memory leaks. In EAServer, you can configure memory thresholds for each server as described in “Configuring memory thresholds”.

In Java code, you can log the amount of free memory reported by the methods freeMemory() and totalMemory() in the java.lang.RunTime class to track total memory use in the Java dynamic allocation heap.

You can also turn on tracing for the Java garbage collector as described in “Trace-logging options”.