diff --git a/dev-lang/openjdk/openjdk11-11.0.2.7.recipe b/dev-lang/openjdk/openjdk11-11.0.2.7.recipe index 4e108ebfe..62af33296 100644 --- a/dev-lang/openjdk/openjdk11-11.0.2.7.recipe +++ b/dev-lang/openjdk/openjdk11-11.0.2.7.recipe @@ -147,13 +147,12 @@ BUILD() export DISABLE_ASLR=1 # Verify that we can allocate a large enough heap before starting. - maxHeapSize=960M - java -XX:ThreadStackSize=1536 -Xmx${maxHeapSize} -version + java -XX:ThreadStackSize=1536 -Xmx1024M -version freeTypeHeaders=$(finddir B_SYSTEM_HEADERS_DIRECTORY)$secondaryArchSubDir/freetype2 freeTypeLib=$(finddir B_SYSTEM_DEVELOP_DIRECTORY)/lib$secondaryArchSubDir - bash ./configure --with-boot-jdk-jvmargs="-Xmx${maxHeapSize} -XX:CompressedClassSpaceSize=512m" \ + bash ./configure --with-boot-jdk-jvmargs="-XX:CompressedClassSpaceSize=512m" \ --with-freetype-include="${freeTypeHeaders}" \ --with-freetype-lib="${freeTypeLib}" \ --with-jtreg=./jtreg \ @@ -162,7 +161,7 @@ BUILD() --with-version-opt="" \ --with-num-cores=1 - make images + make images LOG=info } INSTALL()