package
1.9.6
Repository: https://github.com/decred/dcrd.git
Documentation: pkg.go.dev

# README

limits

Build Status ISC License Doc

Package limits modifies process limits depending on the OS and Go runtime.

Installation and Updating

This package is internal and therefore is neither directly installed nor needs to be manually updated.

License

Package limits is licensed under the copyfree ISC License.

# Functions

SetLimits raises some process limits to values which allow dcrd and associated utilities to run.
SetMemoryLimit configures the runtime to use the provided limit as a soft memory limit starting with Go 1.19.

# Constants

SupportsMemoryLimit indicates that a runtime enforced soft memory limit is supported starting with Go 1.19.