<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> </DIV> <DIV>Thanks,</DIV> <DIV> </DIV> <DIV> </DIV> <DIV><BR><BR><B><I>"Brian J. Butler" <bjbutler@bjbsoftware.com></I></B> wrote:</DIV> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid"><FONT size=-1><FONT face="Helvetica, Arial, sans-serif">Use the -Xmx switch in your Java invocation. 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>
        
                <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.