Skip to content
This repository has been archived by the owner on Jun 23, 2018. It is now read-only.

Java heap size too large #71

Open
ngn opened this issue Dec 24, 2013 · 0 comments
Open

Java heap size too large #71

ngn opened this issue Dec 24, 2013 · 0 comments

Comments

@ngn
Copy link
Contributor

ngn commented Dec 24, 2013

When trying to build the project with cake bake I'm getting

Command failed: Invalid maximum heap size: -Xmx4g
The specified size exceeds the maximum representable size.
Error: Could not create the Java Virtual Machine.

I'm using

$ java -version
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) Server VM (build 24.45-b08, mixed mode)

After removing all occurrences of -Xmx4g Java appears to be running successfully (at least until the build runs into further, unrelated, troubles).

I propose omitting -Xmx4g.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant