You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-dev@xml.apache.org by na...@apache.org on 2009/10/30 03:01:12 UTC

svn commit: r831182 - /xml/xindice/trunk/java/src/org/apache/xindice/core/query/XPathQueryResolver.java

Author: natalia
Date: Fri Oct 30 02:01:12 2009
New Revision: 831182

URL: http://svn.apache.org/viewvc?rev=831182&view=rev
Log:
Fix for OutOfMemoryError in XPath queries

Modified:
    xml/xindice/trunk/java/src/org/apache/xindice/core/query/XPathQueryResolver.java

Modified: xml/xindice/trunk/java/src/org/apache/xindice/core/query/XPathQueryResolver.java
URL: http://svn.apache.org/viewvc/xml/xindice/trunk/java/src/org/apache/xindice/core/query/XPathQueryResolver.java?rev=831182&r1=831181&r2=831182&view=diff
==============================================================================
--- xml/xindice/trunk/java/src/org/apache/xindice/core/query/XPathQueryResolver.java (original)
+++ xml/xindice/trunk/java/src/org/apache/xindice/core/query/XPathQueryResolver.java Fri Oct 30 02:01:12 2009
@@ -1384,6 +1384,8 @@
 
                 if (xpc == null) {
                     xpc = new XPathResolverContext(parameters);
+                } else {
+                    xpc.reset();
                 }
 
                 PrefixResolver pfx;