sandygao 2002/11/09 14:18:06 Modified: java/src/org/apache/xerces/impl/xs XSDeclarationPool.java Log: Fixing a memory leak problem: need to set the number of attribute uses that are currently used to 0 after each parse, otherwise the parser will keep creating new instances of XSAttributeUseImpl and store them in an array. Revision Changes Path 1.7 +2 -1 xml-xerces/java/src/org/apache/xerces/impl/xs/XSDeclarationPool.java Index: XSDeclarationPool.java =================================================================== RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/impl/xs/XSDeclarationPool.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- XSDeclarationPool.java 16 May 2002 18:25:54 -0000 1.6 +++ XSDeclarationPool.java 9 Nov 2002 22:18:06 -0000 1.7 @@ -340,6 +340,7 @@ fSTDeclIndex = 0; fCTDeclIndex = 0; fAttrDeclIndex = 0; + fAttributeUseIndex = 0; }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]