Skip to content

Commit

Permalink
Adjust script size to 0.75GB
Browse files Browse the repository at this point in the history
One goal of this memory tuning work was to _reduce_ the size of the
memory used by scripts, but in the process I went from 960MB (the
default Xmx on the current instance size) to 1024MB! This brings it down
to 3/4 of that to give us more headroom.
  • Loading branch information
tobias committed Nov 16, 2024
1 parent 0cd7941 commit 7da06ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/set_default_java_opts.bash
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
JAVA_OPTS=(
-XX:+HeapDumpOnOutOfMemoryError
-XX:+ExitOnOutOfMemoryError
-Xmx1g
-Xms1g
-Xmx768m
-Xms768m
-Daws.region=us-east-2
)

0 comments on commit 7da06ec

Please sign in to comment.