MemoryCondition

The detection policies identify and correct existing health conditions. The excessive memory condition policy tracks the memory usage for a member. When the memory usage exceeds a percentage of the heap size for a certain amount of time, then the member is restarted.

Inherits from type HealthCondition and adds the following.

Attributes Summary
timeOverThreshold : intThis attribute is used in concert with the timeUnits to define the length of time that the memory utilization must be over the memoryUsed value before restarting.
timeUnits : intThis attribute is used in concert with the timeOverThreshold to define the length of time that the memory utilization must be over the memoryUsed value before restarting.
memoryUsed : intThe excessive memory condition policy restarts members when the memory usage exceeds a percentage of your heap size over a period of time.

Attribute Details

timeOverThreshold    -    This attribute is used in concert with the timeUnits to define the length of time that the memory utilization must be over the memoryUsed value before restarting.Acceptable values for this field are between (and including) 1 second and 60 minutes.
     data type:  int
     default Value:   5



timeUnits    -    This attribute is used in concert with the timeOverThreshold to define the length of time that the memory utilization must be over the memoryUsed value before restarting.This field is the ageUnits, which can be "hours" or "days", but stored within the model as an integer representation. The mapping for the units value are defined in the XDConstants.java file in xd.util: UNITS_SECONDS=1 UNITS_MINUTES=2
     data type:  int
     default Value:   2



memoryUsed    -    The excessive memory condition policy restarts members when the memory usage exceeds a percentage of your heap size over a period of time. The total memory used percentage is used in combination with the time over memory threshold value to determine when to restart members. Acceptable values for this field are whole numbers between (and including) 1 and 99.
     data type:  int
     default Value:   85


Copyright IBM Corp. 1996-2005