Skip to content

Commit

Permalink
build: increase max metaspace size
Browse files Browse the repository at this point in the history
Dokka, API documentation engine, needs more metaspace space than the
default Gradle value (384m). Increasing it to 2g as suggested by
authors.
  • Loading branch information
wzieba committed Sep 15, 2023
1 parent 7698d47 commit cd3aa1d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
# The setting is particularly useful for tweaking memory settings.
# Default value: -Xmx10248m -XX:MaxPermSize=256m
# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
org.gradle.jvmargs=-XX:MaxMetaspaceSize=2g

# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
Expand Down

0 comments on commit cd3aa1d

Please sign in to comment.