Skip to content

Commit 2614e93

Browse files
committed
Extend Peak RSS documentation.
1 parent 174ef1f commit 2614e93

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/reference-manual/native-image/BuildOutput.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,10 @@ Increase the amount of available memory to reduce the time to build the native b
257257
#### <a name="glossary-peak-rss"></a>Peak RSS
258258
Peak [resident set size](https://en.wikipedia.org/wiki/Resident_set_size) as reported by the operating system.
259259
This value indicates the maximum amount of memory consumed by the build process.
260-
If the [GC statistics](#glossary-garbage-collection) do not show any problems, the amount of available memory of the system can be reduced to a value closer to the peak RSS.
260+
By default, the process will consume at least 1GB and up to 14GB of memory, but not more than what is available according to the operating system.
261+
If builds are slow, consider freeing up memory, for example, by closing applications that you do not need.
262+
To overwrite the default initial and max heap settings of the builder, use `-J-Xms` and `-J-Xmx` respectively (for example `-J-Xmx4g` for a max heap of 4GB).
263+
If the [GC statistics](#glossary-garbage-collection) do not show any problems, the amount of available memory of the system can be reduced to a value closer to the peak RSS to lower operational costs.
261264
262265
#### <a name="glossary-cpu-load"></a>CPU load
263266
The CPU time used by the process divided by the total process time.

0 commit comments

Comments
 (0)