DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=29057>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=29057 Used memory is not released once OutOfMemoryError occurs when DTMManager.setIncremental() is set as true. Summary: Used memory is not released once OutOfMemoryError occurs when DTMManager.setIncremental() is set as true. Product: XalanJ2 Version: 2.5 Platform: PC OS/Version: Windows XP Status: NEW Severity: Critical Priority: Other Component: org.apache.xalan.transformer AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] [Summary] Used memory is not released once OutOfMemoryError occurs when DTMManager.setIncremental() is set as true. [Version] I tested this bug using the following versions. Xalan - XalanJ2 2.5.1 - Xalan included in JRE 1.4.1_03 OS/JVM - Windows XP Professional Version 2002 Service Pack1 - Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_03-b02) (min/max heap size is not set.) [How to reproduce this bug] (1) Please download attachment named as OutOfMemoryErrorTest.java. (2) Please compile OutOfMemoryErrorTest.java and execute OutOfMemoryErrorTest. OutOfMemoryError occurs in saxTransform(heavy) and the used memory is not released so that saxTransform(light) fails either. [Memo] (1) The used memory is released if DTMManager.setIncremental() is set as false. I set this field as true because I want to use incremental function in XPath evaluation to make it faster. (2) The used memory is released if heavyCount is set as 110000. (3) I reported severity as critical because JVM needs to be restarted when this problem occurs. It's critical when XSLT transformation is executed in server-side applications. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
