Skip to content

Commit 3b1f912

Browse files
author
Vincent Potucek
committed
Pull #34810: fix xmx args
Signed-off-by: Vincent Potucek <[email protected]>
1 parent 838b4d6 commit 3b1f912

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version=7.0.0-SNAPSHOT
22

33
org.gradle.caching=true
4-
org.gradle.jvmargs=-Xmx2048m
4+
org.gradle.jvmargs=-Xmx2g
55
org.gradle.parallel=true
66

77
kotlinVersion=2.1.20

import-into-eclipse.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ _When instructed to execute `./gradlew` from the command line, be sure to execut
4848
1. While JUnit tests pass from the command line with Gradle, some may fail when run from
4949
the IDE.
5050
- Resolving this is a work in progress.
51-
- If attempting to run all JUnit tests from within the IDE, you may need to set the following VM options to avoid out of memory errors: `-XX:MaxPermSize=2048m -Xmx2048m -XX:MaxHeapSize=2048m`
51+
- If attempting to run all JUnit tests from within the IDE, you may need to set the following VM options to avoid out of memory errors: `-XX:MaxPermSize=2g -Xmx2g -XX:MaxHeapSize=2g`
5252

5353
## Tips
5454

import-into-idea.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ IntelliJ IDEA. See https://youtrack.jetbrains.com/issue/IDEA-64446 for details.
1919
3. While JUnit tests pass from the command line with Gradle, some may fail when run from
2020
IntelliJ IDEA. Resolving this is a work in progress. If attempting to run all JUnit tests from within
2121
IntelliJ IDEA, you will likely need to set the following VM options to avoid out of memory errors:
22-
-XX:MaxPermSize=2048m -Xmx2048m -XX:MaxHeapSize=2048m
22+
-XX:MaxPermSize=2g -Xmx2g -XX:MaxHeapSize=2g
2323
4. If you invoke "Rebuild Project" in the IDE, you'll have to generate some test
2424
resources of the `spring-oxm` module again (`./gradlew :spring-oxm:compileTestJava`)
2525

0 commit comments

Comments
 (0)