I am parsing XML with the XStream 1.3 API and the Xalan API. There is some XML which is huge for which I am getting the following exception. Can you please advise how to overcome this. Do I need to increase the Java heap space?
com.sun.org.apache.xml.internal.dtm.DTMException: No more DTM IDs are availablecom.rbsfm.ice.ioa.exception.IOARuntimeException: ERROR: javax.xml.transform.TransformerException: com.sun.org.apache.xml.internal.dtm.DTMException: No more DTM IDs are available
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform