OSDN Git Service

Increase the Java heap size for droiddoc
authorDominic Binks <dbinks@codeaurora.org>
Wed, 9 Mar 2011 20:11:19 +0000 (12:11 -0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 3 Aug 2011 04:35:43 +0000 (12:35 +0800)
Increasing the Java heap for droiddoc generation from 768 to 1280
megabytes reduces build times by about 2-3 minutes. For fast
build servers this can reduce build times by around 30%. For
slower workstation class machines the build is reduced with no
other obvious undesirable side effects.

Change-Id: I4ff04318ae78fc7b5a5a0499bacfc5527e966ff6

core/droiddoc.mk

index 87576dc..60b9c83 100644 (file)
@@ -163,7 +163,7 @@ $(full_target): $(full_src_files) $(droiddoc_templates) $(droiddoc) $(html_dir_f
                LD_LIBRARY_PATH=$(HOST_OUT_SHARED_LIBRARIES) \
                javadoc \
                 \@$(PRIVATE_SRC_LIST_FILE) \
-                -J-Xmx768m \
+                -J-Xmx1280m \
                 -J-Djava.library.path=$(HOST_OUT_SHARED_LIBRARIES) \
                 $(PRIVATE_PROFILING_OPTIONS) \
                 -quiet \