limits

package
v1.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2023 License: ISC Imports: 3 Imported by: 0

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.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL