Documentation
¶
Overview ¶
Package limits allows some process limits to be raised.
Index ¶
Constants ¶
View Source
const SupportsMemoryLimit = true
SupportsMemoryLimit indicates that a runtime enforced soft memory limit is supported starting with Go 1.19.
Variables ¶
This section is empty.
Functions ¶
func SetLimits ¶
func SetLimits() error
SetLimits raises some process limits to values which allow dcrd and associated utilities to run.
func SetMemoryLimit ¶
func SetMemoryLimit(limit int64)
SetMemoryLimit configures the runtime to use the provided limit as a soft memory limit starting with Go 1.19.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.