Skip to content

Commit 85fec48

Browse files
Copilotagocke
andcommitted
Document default 75% value for GCHeapHardLimitPercent in container environments
Co-authored-by: agocke <[email protected]>
1 parent 35c6593 commit 85fec48

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/core/runtime-config/garbage-collector.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,7 @@ The following settings apply to all flavors of the GC:
341341

342342
- Specifies the heap hard limit as a percentage of the total physical memory. If the process is running in a memory-constrained environment, that is, inside a container with a specified memory limit, the total physical memory is the memory limit; otherwise it's what's available on the machine.
343343
- This setting only applies to 64-bit computers.
344+
- If this limit isn't configured but the process is running in a memory-constrained environment, that is, inside a container with a specified memory limit, the default value is 75 (75% of the container's memory limit).
344345
- This setting is ignored if the [Per-object-heap hard limits](#per-object-heap-hard-limits) are configured or the [heap hard limit](#heap-hard-limit) is configured.
345346

346347
| | Setting name | Values | Version introduced |

0 commit comments

Comments
 (0)