> -----Original Message----- > From: Holger Fl�rke [mailto:[EMAIL PROTECTED] > Sent: Monday, March 01, 2004 12:44 PM > To: [email protected] > Subject: Re: Precompiled Stylesheets Memory-Usage during Runtime > > I do not know any Xalan-C function to retrieve the memory usage of a
Yes, I don't know as well. But it would be an useful API enhancement. So this question is more an feature request. We have, in some applications, hundreds of stylesheets, and in this case it is impossible to determine the memory consumption of each stylesheet with operating system resurces. And, AFAIK, Xalan reuses memory for identical fragments of stylesheets. So for similar stylesheets, its even more difficult to get the memory usage per stylesheet with tools of the OS. > compiled stylesheet, but we had a similar problem. We decided to use > Xalan-C 1.7 (be careful because of bugs in Xerces-C 2.4) to All right, I hope that will improve our environment as well, as we switched one week ago to Xalan 1.7 with Xerces 2.5 (!) But we used Xalan 1.5 with Xerces 2.2 before. > reduce the > runtime memory usage. Our application uses one "big" (~110kB) > compiled > stylesheet and the new Xalan-C saves 5-10MB (measured with > the taskmgr ;^) > compared to Xalan-C 1.3. thanks for the quick answer, regards, Robert
