Documentation
¶
Overview ¶
Package controller contains common types for different possible implementations of memory usage controller.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller interface {
GetStats() (*stats.ControllerStats, error)
Quit()
}
Controller - generic memory consumption controller interface.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package nextgc provides the implementation of memory usage controller, which aims to keep Go Runtime NextGC value lower than the RSS consumption hard limit to prevent OOM errors.
|
Package nextgc provides the implementation of memory usage controller, which aims to keep Go Runtime NextGC value lower than the RSS consumption hard limit to prevent OOM errors. |
Click to show internal directories.
Click to hide internal directories.