The configuration for the memory watcher.

Configuration for the memory watcher.

Properties

enabled: boolean

True when the memory watcher should watch the process memory.

maxMemoryUsageInBytes: number

Maximum allowed memory used in bytes.

maxMemoryUsageInPercent: number

Maximum allowed memory used in percent of the whole system memory.

timeoutInSeconds: number

Time in seconds the maximum may be reached until the process will be terminated.

watchIntervalInSeconds: number

Time in seconds for the interval in wich the process memory usage will be scanned.

watchSystemMemory: boolean

When true, the memory watcher will not watch some specific processes but instead the whole system memory usage.

Generated using TypeDoc