From 86175d2fd50ef1649cc779234189d3098537fce2 Mon Sep 17 00:00:00 2001 From: Dominic Binks Date: Wed, 9 Mar 2011 12:11:19 -0800 Subject: [PATCH] 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 --- core/droiddoc.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/droiddoc.mk b/core/droiddoc.mk index 87576dc3dd..60b9c83763 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 \