title: What is the maximum number of pages tha apache fop can generate?
body: <p>Hi I was working with apache fop and when the number of pages exceeds about 130 pages ,it could not generate the pdf ....
  Is there any limit to page number or the length of xml file...</p>
  
  <blockquote>
  <pre><code>Exception in thread "main" java.lang.OutOfMemoryError: Java heap
  </code></pre>
    
    <p>space
                at java.io.BufferedReader.(BufferedReader.java:80)
                at java.io.BufferedReader.(BufferedReader.java:91)
                at org.apache.xml.dtm.ObjectFactory.findJarServiceProviderName(ObjectFac
        tory.java:579)
                at org.apache.xml.dtm.ObjectFactory.lookUpFactoryClassName(ObjectFactory
        .java:373)
                at org.apache.xml.dtm.ObjectFactory.lookUpFactoryClass(ObjectFactory.jav
        a:206)
                at org.apache.xml.dtm.ObjectFactory.createObject(ObjectFactory.java:131)</p>
  
  <pre><code>        at org.apache.xml.dtm.ObjectFactory.createObject(ObjectFactory.java:101)
  
          at org.apache.xml.dtm.DTMManager.newInstance(DTMManager.java:135)
          at org.apache.xpath.XPathContext.reset(XPathContext.java:350)
          at org.apache.xalan.transformer.TransformerImpl.reset(TransformerImpl.ja
  va:505)
          at org.apache.xalan.transformer.TransformerImpl.transformNode(Transforme
  rImpl.java:1436)
          at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImp
  l.java:709)
          at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImp
  l.java:1284)
          at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImp
  l.java:1262)
          at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:214)
          at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:125)
          at org.apache.fop.cli.Main.startFOP(Main.java:166)
          at org.apache.fop.cli.Main.main(Main.java:197)
  </code></pre>
  </blockquote>