DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13013>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13013 SAX out of memory? (XSLT Error (java.lang.OutOfMemoryError): null Summary: SAX out of memory? (XSLT Error (java.lang.OutOfMemoryError): null Product: XalanJ2 Version: 2.2.x Platform: Sun OS/Version: Solaris Status: NEW Severity: Critical Priority: Other Component: Xalan-CmdLine AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Using xalan xslt process to deal with huge size of XML document. (OPD structure, 370MB), got message: (Location of error unknown)XSLT Error (java.lang.OutOfMemoryError): null By my understanding, xalan XSLT is basing on SAX, not DOM. How come it cosumes out memory? Or maybe I gave wrong parameters for command line utility? Here is the command line usage: java -Xmx256m org.apache.xalan.xslt.Process -FLAVOR s2s=SAX -IN z1 -XSL $1.xsl -OUT ${1}.out I've tried run without -Xmx and -Flavor options, didn't work. $ java org.apache.xalan.xslt.EnvironmentCheck #---- BEGIN writeEnvironmentReport($Revision: 1.7 $): Useful properties found: - --- java.version=1.4.0 version.JAXP=1.1 java.ext.dirs=/export/home/j2sdk1.4.0/jre/lib/ext version.crimson=not-present version.SAX=2.0 java.class.path=:/usr/local/oracle/jlib:/usr/local/oracle/jdbc/lib/classes12.zi p :/usr/local/oracle/jdbc/lib/nls_charset12.zip:/usr/java/classes version.xerces=not-present sun.boot.class.path=/export/home/j2sdk1.4.0/jre/lib/rt.jar:/export/home/j2sdk1. 4 .0/jre/lib/i18n.jar:/export/home/j2sdk1.4.0/jre/lib/sunrsasign.jar:/export/home / j2sdk1.4.0/jre/lib/jsse.jar:/export/home/j2sdk1.4.0/jre/lib/jce.jar:/export/hom e /j2sdk1.4.0/jre/lib/charsets.jar:/export/home/j2sdk1.4.0/jre/classes version.DOM.draftlevel=2.0fd version.xalan2=Xalan;Java;Xalan Java 2.2.D11; version.DOM=2.0 version.xalan1=not-present #----- END writeEnvironmentReport: Useful properties found: ----- # YAHOO! Your environment seems to be OK. Thanks a lot Ray
