<!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">And one other
very important item - turning off PDF compression significantly reduces
memory requirements, but creates a big PDF.&nbsp; However, you can use
Acrobat to compress the PDF after creation.&nbsp; I had to use this
technique to render a large chemical catalog (.fo file was about 100MB,
resulting uncompressed PDF about 2.5GB).<br>
<br>
BJB<br>
</font></font><br>
Neha Parab wrote:<br>
<blockquote
 cite="mid20060117202227.15906.qmail@web81903.mail.mud.yahoo.com"
 type="cite">
  <div>In addition to increasing heap size, try to optimize your code
also. Try creating minimal XSL-FO objects in code. Like instead of
creating multiple "tables" try handling code inside few tables. Try to
remove all unwanted attributes. </div>
  <div>&nbsp;</div>
  <div>Thanks,</div>
  <div>&nbsp;</div>
  <div>&nbsp;</div>
  <div><br>
  <br>
  <b><i>"Brian J. Butler" <a class="moz-txt-link-rfc2396E" href="mailto:bjbutler@bjbsoftware.com">&lt;bjbutler@bjbsoftware.com&gt;</a></i></b>
wrote:</div>
  <blockquote class="replbq"
 style="border-left: 2px solid rgb(16, 16, 255); padding-left: 5px; margin-left: 5px;"><font
 size="-1"><font face="Helvetica, Arial, sans-serif">Use the -Xmx
switch in your Java invocation.&nbsp; For example,<br>
    <br>
java -Xmx1000M ...<br>
    <br>
This allocates 1GB heap space for your program.<br>
    <br>
BJB<br>
    </font></font><br>
Matthew Richardson wrote:<br>
    <blockquote cite="midBFEC1861.EF8E%25matvey@umich.edu" type="cite">
      <pre wrap="">Hey all,    I'm having a bit of trouble with XEP giving me a java.lang.OutOfMemoryError.  The XML files I'm working with are quite !
 large
 (26-50MB), but my server  admin has allocated 2GB of RAM to the java runtime environment on a machine  that has 4GB of RAM total. Am a bit confused as to why 2GB of RAM is  insufficient for a 26MB file. Am I doing something else wrong?    I'm cc-ing the server admin, as my role is primarily in XSLT development.    Matthew Richardson, ICPSR      -------------------  (*) To unsubscribe, send a message with words 'unsubscribe xep-support'  in the body of the message to <a
 class="moz-txt-link-abbreviated" href="mailto:majordomo@renderx.com">majordomo@renderx.com</a> from the address  you are subscribed from.  (*) By using the Service, you expressly agree to these Terms of Service <a
 class="moz-txt-link-freetext"
 href="http://www.renderx.com/terms-of-service.html">http://www.renderx.com/terms-of-service.html</a>          </pre>
    </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>
  </blockquote>
  <div><br>
  </div>
  <p> </p>
  <hr size="1">Yahoo! Photos<br>
Got holiday prints? <a
 href="http://us.rd.yahoo.com/mail_us/taglines/holidayprints/*http://pa.yahoo.com/*http://us.rd.yahoo.com/mail_us/taglines/photos/evt=38089/*http://pg.photos.yahoo.com/ph//print_splash">See
all the ways</a> to get quality prints in your hands ASAP.
</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>