Unverified Commit fe92efbf authored by david-perez's avatar david-perez Committed by GitHub
Browse files

Increase max JVM heap size in `gradle.properties` (#1373)

It's currently defaulting to 512 MiB. I often see this message in my
build logs:

> Daemon will be stopped at the end of the build after running out of JVM memory

I've done some (unscientific) profiling with this setting enabled, and
max heap size can peak at ~600 MiB, so I see no reason to increase it
more than 1024 MiB.
parent 8a79ba50
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -6,6 +6,8 @@
# Rust MSRV (entered into the generated README)
rust.msrv=1.58.1

org.gradle.jvmargs=-Xmx1024M

# Version number to use for the generated SDK
# Note: these must always be full 3-segment semver versions
aws.sdk.version=0.12.0