reduce memory for javadoc
Jonathan Gibbons
jonathan.gibbons at oracle.com
Wed Apr 10 01:45:07 UTC 2013
Build folk,
As a result of these two changesets now in tl/langtools, we can now
reduce the memory requirements for javadoc in
(root)common/makefiles/javadoc/Javadoc.gmk.
changeset: 1678:3f3cc8d3f13c
tag: tip
user: jjg
date: Mon Apr 08 11:57:37 2013 -0700
summary: 8011677: EndPosTables should avoid hidden references to Parser
changeset: 1677:b402b93cbe38
user: jjg
date: Mon Apr 08 11:54:26 2013 -0700
summary: 8011676: Instances of Tokens.Comment should not be defined
in inner classes
I have done builds with the memory limited to 512m, down from 1024m. I
did try further, with 384m, but that was too much of a reduction.
$ hg diff
diff -r 11c057460b91 common/makefiles/javadoc/Javadoc.gmk
--- a/common/makefiles/javadoc/Javadoc.gmk Fri Apr 05 14:49:54 2013 -0700
+++ b/common/makefiles/javadoc/Javadoc.gmk Tue Apr 09 18:42:37 2013 -0700
@@ -47,7 +47,7 @@
BUILD_NUMBER=$(JDK_BUILD_NUMBER)
JAVADOC_CMD = $(JAVA) \
- -Xmx1024m \
+ -Xmx512m \
-Djava.awt.headless=true \
$(NEW_JAVADOC) \
-bootclasspath $(JDK_OUTPUTDIR)/classes
-- Jon
More information about the build-dev
mailing list