Const
Readonly
attributes: { Readonly
currentThe CurrentHeapHighWatermark attribute shall indicate the maximum amount of heap memory, in bytes, that has been used by the Node. This value shall only be reset upon a Node reboot or upon receiving of the ResetWatermarks command.
Readonly
commands: { Readonly
resetReceipt of this command shall reset the following values which track high and lower watermarks:
• The StackFreeMinimum field of the ThreadMetrics attribute
• The CurrentHeapHighWatermark attribute This command has no payload.
Effect on Receipt
On receipt of this command, the Node shall make the following modifications to attributes it supports:
If implemented, the server shall set the value of the CurrentHeapHighWatermark attribute to the value of the CurrentHeapUsed attribute.
If implemented, the server shall set the value of the StackFreeMinimum field for every thread to the value of the corresponding thread’s StackFreeCurrent field.
A SoftwareDiagnosticsCluster supports these elements if it supports feature Watermarks.