Skip to content

Commit

Permalink
Added default options section for Issue 1415
Browse files Browse the repository at this point in the history
Signed-off-by: madelinemurray <madeline.murray@consensys.net>
  • Loading branch information
MadelineMurray committed Nov 15, 2023
1 parent 538a082 commit f8162e1
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion docs/public-networks/how-to/configure-jvm/manage-memory.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ tags:
- private networks
---

# Manage JVM memoryx
# Manage JVM memory

You can manage Java Virtual Machine (JVM) memory usage for Besu by modifying the maximum heap size.

Expand Down Expand Up @@ -72,3 +72,15 @@ The heap dump file might be large and can saturate your drive. It can be up to t
```bash
BESU_OPTS="-XX:HeapDumpPath=/<path>/<to>/<directory>"
```

## Default options

To reduce Besu memory footprint, the following G1GC Java options are enabled by default:

```bash
-XX:G1ConcRefinementThreads=2
-XX:G1HeapWastePercent=15
-XX:MaxGCPauseMillis=100
```

To run Besu without the default G1GC options, use the `besu-untuned` start script.

0 comments on commit f8162e1

Please sign in to comment.