Logging memory monitoring

You can turn on detailed messages of the memory monitoring thread by adding the following parameter to the sm.ini file:

log4jdebug:com.hp.ov.sm.common.oom.LowMemoryHandler

Messages like these will be sent to the sm.log file when the parameter is turned on. Warning messages are written to the log whether detailed messages are turned on or not.

  2120(  2232) 02/04/2009 13:25:02 JRTE I Starting Memory Monitoring thread to check for memory every 15 seconds.
  2120(  5980) 02/04/2009 13:25:02 JRTE D JavaMemory Max(123928576) Used(1011872) %Used(0.0)
  2120(  5980) 02/04/2009 13:25:02 JRTE D NativeMemory Max(2147352576) Used(358121472) %Used(16.0)
  2120(  5980) 02/04/2009 13:28:32 JRTE W Process Low on Java Memory. Max(123928576) Used(119603800) PercentUsed(96.0)
  2120 02/04/2009 13:30:14 JRTE W Send error response: Server is running low on memory try again.
  2120 02/04/2009 13:30:16 JRTE W Send error response: Server is running low on memory try again.
  2120(  5980) 02/04/2009 13:30:47  RTE I Process Java Heap Memory is back to normal range.
  2120(  5980) 02/04/2009 13:30:47 JRTE I Process Java Memory. Max(123928576)  Used(4256640) PercentUsed(3.0)