Increase max heap size for javac to 2GB.
Compiling Dialer requires increasing the javac heap size above
1GB, probably due to the extensive use of annotation processors.
Increase it to 2GB.
Test: m -j ANDROID_COMPILE_WITH_JACK=false
Change-Id: I4dd3759a98ea915469e69f563dc49be8a25d518e
Merged-In: I4dd3759a98ea915469e69f563dc49be8a25d518e
(cherry picked from commit 0e785c79b8
)
This commit is contained in:
parent
8eff2d7c8e
commit
a12d38a721
|
@ -35,7 +35,7 @@ ifdef JAVAC_WRAPPER
|
|||
endif
|
||||
|
||||
# Whatever compiler is on this system.
|
||||
COMMON_JAVAC := $(JAVACC) -J-Xmx1024M $(common_jdk_flags)
|
||||
COMMON_JAVAC := $(JAVACC) -J-Xmx2048M $(common_jdk_flags)
|
||||
|
||||
# Eclipse.
|
||||
ifeq ($(CUSTOM_JAVA_COMPILER), eclipse)
|
||||
|
|
Loading…
Reference in New Issue