Skip to content

Commit

Permalink
Decrease Daemon JVM memory arg to 2G
Browse files Browse the repository at this point in the history
The Daemon should require less memory as more things are now run out of
process. This also matches the max memory argument passed to the compile
tasks.
  • Loading branch information
sciwhiz12 committed Dec 10, 2024
1 parent e6a272c commit b961a4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Sets default memory used for gradle commands. Can be overridden by user or command line properties.
# This is required to provide enough memory for recompilation
# (see also projects/neoforged/build.gradle, where the compile tasks is set to have enough memory when forked)
org.gradle.jvmargs=-Xmx3G
org.gradle.jvmargs=-Xmx2G
org.gradle.daemon=true
org.gradle.parallel=true
org.gradle.caching=true
Expand Down

0 comments on commit b961a4b

Please sign in to comment.