From 01f11b2aa94a3af580b27afc93046601d9f11ab9 Mon Sep 17 00:00:00 2001 From: Ying Wang Date: Wed, 26 Mar 2014 19:23:46 -0700 Subject: [PATCH] Increase the maximum javac heap size. Java 7 needs more memory when you run some annotation tools. Change-Id: Ia8b423244b9ce164500b24867fe2b3d10a5089ff --- core/combo/javac.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/combo/javac.mk b/core/combo/javac.mk index cc2c872f09..8c24e4bdc3 100644 --- a/core/combo/javac.mk +++ b/core/combo/javac.mk @@ -27,7 +27,7 @@ ifeq ($(BUILD_OS), windows) COMMON_JAVAC := development/host/windows/prebuilt/javawrap.exe -J-Xmx256m \ $(common_flags) else - COMMON_JAVAC := $(JAVACC) -J-Xmx512M $(common_flags) + COMMON_JAVAC := $(JAVACC) -J-Xmx768M $(common_flags) endif # Eclipse.