summaryrefslogtreecommitdiffstats
path: root/core/droiddoc.mk
diff options
context:
space:
mode:
authorDominic Binks <dbinks@codeaurora.org>2011-03-09 12:11:19 -0800
committerDominic Binks <dbinks@codeaurora.org>2011-04-25 13:52:29 -0700
commit86175d2fd50ef1649cc779234189d3098537fce2 (patch)
treebdf2a105df2b4d37c8fd57f4a5778232addd4163 /core/droiddoc.mk
parent2e4e3c94211fd31962e8fd1c6152932bbfdea7d5 (diff)
downloadbuild-86175d2fd50ef1649cc779234189d3098537fce2.zip
build-86175d2fd50ef1649cc779234189d3098537fce2.tar.gz
build-86175d2fd50ef1649cc779234189d3098537fce2.tar.bz2
Increase the Java heap size for droiddoc
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
Diffstat (limited to 'core/droiddoc.mk')
-rw-r--r--core/droiddoc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/droiddoc.mk b/core/droiddoc.mk
index 87576dc..60b9c83 100644
--- a/core/droiddoc.mk
+++ b/core/droiddoc.mk
@@ -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 \