You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xerces.apache.org by mini thomas <mi...@yahoo.com> on 2009/05/15 13:35:53 UTC
Xerces 3.0.1 increased memory usage CentOS 5.1
Hi,
We have our application using xerces 3.0.1 build for two linux distrubutions,
one Redhat 9.0 and other CentOS 5.1. The application runs as a service and is supposed to run many days without restart.
We are facing problem of increased usage of memory in CentOS compared to Redhat. This is causing the Resident and Virtual memory usage of the application to grow, causing the performance degradation of the system.The valgrind report for the application does not report any definitely leak with our application. ( It shows some of the xerces memory locations as "still reachable" )
Are any corrective steps to be done based on the Operating System, with the Xerces?.
Note:
Our application is heavily dependent on xml .We create and delete XercesDOMParser frequently ( from different threads).
We have this xerces built with the gnuiconv transcoder. (XMLString::transcode is used heavily. The pointer returned by the transcode() is freed using XMLString::release() itself)
Thanks,
Mini
Re: Xerces 3.0.1 increased memory usage CentOS 5.1
Posted by Boris Kolpackov <bo...@codesynthesis.com>.
Hi Mini,
mini thomas <mi...@yahoo.com> writes:
> Are any corrective steps to be done based on the Operating System,
> with the Xerces?.
No, normally you don't need to do anything like this. The only thing
that I can think of that could cause this is heap fragmentation in
CentOS 5.1.
Boris
--
Boris Kolpackov, Code Synthesis Tools http://codesynthesis.com/~boris/blog
Open source XML data binding for C++: http://codesynthesis.com/products/xsd
Mobile/embedded validating XML parsing: http://codesynthesis.com/products/xsde