We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba2b532 commit ba38c32Copy full SHA for ba38c32
storage/ndb/config/type_JAVA.cmake
@@ -95,7 +95,11 @@ MACRO(CREATE_JAR)
95
96
# Limit memory of javac, otherwise build might fail for parallel builds.
97
# (out-of-memory/timeout if garbage collector kicks in too late)
98
- SET(JAVA_ARGS "-J-Xmx3G")
+ IF(SIZEOF_VOIDP EQUAL 8)
99
+ SET(JAVA_ARGS "-J-Xmx3G")
100
+ ELSE()
101
+ SET(JAVA_ARGS "-J-Xmx1G")
102
+ ENDIF()
103
104
# Compile
105
IF (JAVA_FILES)
0 commit comments