mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 14:46:42 +00:00
update
This commit is contained in:
parent
03e7d8d346
commit
c428a33ec7
1 changed files with 1 additions and 1 deletions
|
|
@ -239,7 +239,7 @@ func (*HandlerT) SetGCPercent(v int) int {
|
||||||
|
|
||||||
// SetMemoryLimit sets the GOMEMLIMIT for the process. It returns the previous limit.
|
// SetMemoryLimit sets the GOMEMLIMIT for the process. It returns the previous limit.
|
||||||
// Note:
|
// Note:
|
||||||
// - The input limit is provided as bytes, and includes all memory mapped, managed, and not released by the Go runtime.
|
// - The input limit is provided as bytes. A negative input does not adjust the limit
|
||||||
// - A zero limit or a limit that's lower than the amount of memory used by the Go runtime may cause the garbage collector to runnearly continuously. However, the application may still make progress.
|
// - A zero limit or a limit that's lower than the amount of memory used by the Go runtime may cause the garbage collector to runnearly continuously. However, the application may still make progress.
|
||||||
// - Setting the limit too low will cause Geth to become unresponsive.
|
// - Setting the limit too low will cause Geth to become unresponsive.
|
||||||
// - Geth also allocates memory off-heap, particularly for fastCache and Pebble, which can be non-trivial (a few gigabytes by default).
|
// - Geth also allocates memory off-heap, particularly for fastCache and Pebble, which can be non-trivial (a few gigabytes by default).
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue