JDK9 build failure on Windows : javac OutOfMemoryError
Mike Duigou
mike.duigou at oracle.com
Wed Mar 12 22:06:35 UTC 2014
Is your bootjdk a 32 bit VM? Brad Wetmore had similar issues last week. The problem in his case was that the 32 bit VM couldn't get a large enough heap. Switching to a 64 bit boot jdk resolved the issue for him.
Mike
On Mar 12 2014, at 14:45 , Phil Race <philip.race at oracle.com> wrote:
> I'm on Windows 7 64 bit and I've quit every app except for my console windows
> yet I still get this error below.
>
> How can I get past this ?
>
> -phil.
>
> ----------
> ## Starting jdk
> Compiling 9635 files for BUILD_JDK
>
>
> The system is out of resources.
> Consult the following stack trace for details.
> java.lang.OutOfMemoryError: Java heap space
> at com.sun.tools.javac.tree.TreeMaker.Literal(TreeMaker.java:451)
> at com.sun.tools.javac.parser.JavacParser.literal(JavacParser.java:740)
> at com.sun.tools.javac.parser.JavacParser.literal(JavacParser.java:660)
> at com.sun.tools.javac.parser.JavacParser.term3(JavacParser.java:1158)
> at com.sun.tools.javac.parser.JavacParser.term2(JavacParser.java:910)
> at com.sun.tools.javac.parser.JavacParser.term1(JavacParser.java:881)
> at com.sun.tools.javac.parser.JavacParser.term(JavacParser.java:837)
> at com.sun.tools.javac.parser.JavacParser.term(JavacParser.java:817)
> at com.sun.tools.javac.parser.JavacParser.parseExpression(JavacParser.ja
> va:780)
> ....
> ....
>
> make[2]: *** [/cygdrive/c/jdks/client/build/windows-x86-normal-serverANDclient-release/jdk/classes/_the.BUILD_JDK_batch] Error 3
> BuildJdk.gmk:64: recipe for target `classes-only' failed
> make[1]: *** [classes-only] Error 2
> /cygdrive/c/jdks/client//make/Main.gmk:116: recipe for target `jdk-only' failed
> make: *** [jdk-only] Error 2
> ---------------------
More information about the build-dev
mailing list