<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Helvetica, Arial, sans-serif">I have also
been working on a very large document (88MB FO file, 2200 pages of
technical text and drawings). I can offer the following three
suggestions:<br>
<br>
1. Make sure your Java -Xmx size is as large as possible. With Windows
this will be approximately -Xmx1600Mb.<br>
2. Use the XEP flag to turn off PDF compression (in xep.xml or command
line). This will result in a very large PDF, but you can compress it
after rendering by opening it in Adobe Acrobat and then saving.<br>
3. Switch to a 64-bit Solaris platform (Opteron processors). We
benchmarked one of these machines and found that we can -Xmx almost
unlimited memory. The speed is also very fast.<br>
<br>
BJB<br>
</font></font><br>
Jost Klopfstein wrote:
<blockquote cite="mid008a01c56805$18263710$0602a8c0@Toshiba" type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta content="MSHTML 6.00.2800.1479" name="GENERATOR">
<style></style>
<div><font face="Arial" size="2">Hi,</font></div>
<div> </div>
<div><font face="Arial" size="2">I ran into memory problems while
rendering a large book with TOC, indexes and references between
sections.</font></div>
<div><font face="Arial" size="2">I first thought I could just render
section by section into XEP intermediate format and then assemble the
pieces with some custom code into a large PDF using the PDF output
generator.</font></div>
<div><font face="Arial" size="2">However I will loose the TOC,
indexes and the references between sections.</font></div>
<div> </div>
<div><font face="Arial" size="2">Any ideas?</font></div>
<div> </div>
<div><font face="Arial" size="2">Thanks,</font></div>
<div><font face="Arial" size="2">Jost</font></div>
<div> </div>
<span>
<div>
<hr align="left" size="2" width="100%"></div>
<div>Jost Klopfstein<br>
<b>Axos Technologies Inc.</b><br>
<span style="font-size: 8pt;">OnDemand & Transactional Document
Solutions, powered by XML<br>
IT Consulting<br>
</span><span style="font-size: 10pt;"><br>
<b>604 628-2248 Phone</b><br>
604-324-2380 Fax</span></div>
<div><span style="font-size: 10pt;">jost (at) axostech.com<br>
<a href="http://www.axostech.com">http://www.axostech.com</a></span> </div>
</span></blockquote>
<br>
<pre class="moz-signature" cols="72">--
Brian J. Butler
BJB Software, Inc.
76 Bayberry Lane
Holliston, MA 01746
E-mail: <a class="moz-txt-link-abbreviated" href="mailto:bjbutler@bjbsoftware.com">bjbutler@bjbsoftware.com</a>
Web: <a class="moz-txt-link-freetext" href="http://www.bjbsoftware.com">http://www.bjbsoftware.com</a>
Phone: 508-429-1441
Fax: 419-710-1867
</pre>
</body>
</html>