Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Co-authored-by: Aunsh Chaudhari <aunsh04@yahoo.in>
  • Loading branch information
dmitryax and aunshc committed Mar 26, 2024
1 parent 151f958 commit fe072e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ as a reference.
If you haven't customized the `memory_ballast`, just remove it from the configuration.

If you have customized it via `SPLUNK_BALLAST_SIZE_MIB` (or `extensions::memory_ballast::size_mib` config), you should
remove the `memory_ballast` extension and use the [`GOMEMLIMIT`](https://pkg.go.dev/runtime) the environment variable to set a custom soft memory limit:
remove the `memory_ballast` extension and use the [`GOMEMLIMIT`](https://pkg.go.dev/runtime) environment variable to set a custom soft memory limit:
- To increase frequency of garbage collections: set `GOMEMLIMIT` to a higher value than the default 90% of total memory.
- To decrease frequency of garbage collections: set `GOMEMLIMIT` to a lower value than the default 90% of total memory.

Expand Down

0 comments on commit fe072e0

Please sign in to comment.