Registry / utility / raulk-go-watchdog

raulk-go-watchdog

JSON →
library1.3.0gogounverified

A singleton memory watchdog that monitors memory utilization and forces garbage collection according to a user-defined policy.

go get github.com/raulk/go-watchdog
INSTALL
IMPORT
SIG · RAULK-GO-WATCHDOG
R
raulk-go-watchdog
utilitygov1.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

watchdog
github.com/raulk/go-watchdog

Starts the memory watchdog with a heap-driven policy.

package main import ( "github.com/raulk/go-watchdog" ) func main() { policy := watchdog.NewHeapDrivenPolicy(0.9, 0.5) watchdog.Start(policy) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.3.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
raulk-go-watchdog — go get raulk-go-watchdog · libregistry