Skip to content

Commit f552eb5

Browse files
Copilotagocke
andcommitted
Reword GCHeapHardLimitPercent documentation per reviewer feedback
Co-authored-by: agocke <[email protected]>
1 parent 85fec48 commit f552eb5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,9 +339,8 @@ The following settings apply to all flavors of the GC:
339339
340340
### Heap hard limit percent
341341

342-
- 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.
342+
- 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 container limit is considered the total physical memory. If in a memory-constrained environment, the default value is 75%.
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).
345344
- 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.
346345

347346
| | Setting name | Values | Version introduced |

0 commit comments

Comments
 (0)