Assuming the branches/legals build now underway succeeds, we'll need to take this change in to branches/4.0.

What happened was that I added a bunch of new material to the refguide, and improved index coverage. This caused the JVM to exceed its heap, slow down, and begin tossing off Out of Memory errors. This change increases the JVM heap for the critical final phase of the refguide build to 512m, speeds things up, and (at least on my machine) avoids the errors.

The risk is that the build machines won't be able to handle 512m. We'll know in a couple of hours whether that is true.

jim

Begin forwarded message:

From: [EMAIL PROTECTED]
Date: March 13, 2007 4:04:50 PM PDT
To: [email protected]
Subject: [Laszlo-checkins] r4273 - openlaszlo/branches/legals/docs/src
Reply-To: [email protected]

Author: jgrandy
Date: 2007-03-13 16:04:47 -0700 (Tue, 13 Mar 2007)
New Revision: 4273

Modified:
   openlaszlo/branches/legals/docs/src/build.xml
Log:
increase JVM heap for html.generate stage of refguide and contribguide builds. optimistically turn on index for both books.

Modified: openlaszlo/branches/legals/docs/src/build.xml
===================================================================
--- openlaszlo/branches/legals/docs/src/build.xml 2007-03-13 22:46:03 UTC (rev 4272) +++ openlaszlo/branches/legals/docs/src/build.xml 2007-03-13 23:04:47 UTC (rev 4273)
@@ -444,7 +444,7 @@
       <param name="draft.mode" expression="${draft.mode}"/>
       <param name="show.comments" expression="${ref.show.comments}"/>
       <param name="show.fixmes" expression="${ref.show.fixmes}"/>
-      <param name="build.general.index" expression="0"/>
+      <param name="build.general.index" expression="1"/>
     </style>
   </target>

@@ -488,7 +488,8 @@

     <java classname="com.icl.saxon.StyleSheet"
           fork="yes"
-          failonerror="true">
+          failonerror="true"
+          maxmemory="512m">
       <classpath refid="saxon.processor.classpath"/>
<jvmarg value="- Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.Docum entBuilderFactoryImpl"/> <jvmarg value="- Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFa ctoryImpl"/>
@@ -667,7 +668,7 @@
       <xmlcatalog refid="docbook.local.xsl"/>
<param name="visibility.filter" expression="$ {contrib.visibility.filter}"/>
       <param name="draft.mode" expression="${draft.mode}"/>
-      <param name="build.general.index" expression="0"/>
+      <param name="build.general.index" expression="1"/>
     </style>
   </target>

@@ -716,7 +717,8 @@

     <java classname="com.icl.saxon.StyleSheet"
           fork="yes"
-          failonerror="true">
+          failonerror="true"
+          maxmemory="512m">
       <classpath refid="saxon.processor.classpath"/>
<jvmarg value="- Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.Docum entBuilderFactoryImpl"/> <jvmarg value="- Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFa ctoryImpl"/>


_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins

Reply via email to