You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@santuario.apache.org by bu...@apache.org on 2004/12/24 13:31:59 UTC

DO NOT REPLY [Bug 32836] - memory retention

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=32836>.
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=32836


raul-info@r-bg.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From raul-info@r-bg.com  2004-12-24 13:31 -------
Thanks for detecting the problem,

  As I'll try to avoid the XPath calls the lest this error has pass undetected.
The problem is caused by the CachedXPathAPI storing all the node infos of all 
documents it read, and never reset it(it must be telled explicetly). As we are
caching this object for speed reasons, it grows and grows. 
Your proposed solution, fix the problem but put a penalty hit and makes the
cache irrelevant.
I have fixed it detecting when the cache is asked for other document and then
reseting the cache, I have tested it and the memory remains stable. You can
obtain the solution in CVS.

Thanks a lot.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.