473,399 Members | 3,106 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

XslTransform.Load holding memory

I have a Windows service that reads messages off a message queue and
performs several XSL transforms per message. The XSL documents are embedded
resources in the executing assembly and several contain <xsl:include>
statements. I'm using the XslTransform.Load() method which accepts an
XPathNavigator, an XmlResolver, and an Evidence object. I've created a
custom XmlResolver that resolves the embedded resource XSL documents and I'm
passing Assembly.GetCallingAssembly().Evidence for the Evidence.

Here's the problem: The Evidence object is not releasing its resources and
I'm getting OutOfMemory errors after approximately 3200 calls to the Load
method. The service starts at around 12MB and tops off around 1.7GB. I ran
tests on it all day today and narrowed it down to the Load method and the
Evidence parameter.

If anyone has any experience with this or a solution to this issue, please
let me know ASAP. This is a major part of my current project.

Thank you,

Robert Gaut
Application Developer - Master
Reynolds Web Solutions
Nov 12 '05 #1
0 1339

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Steve Myers | last post by:
I get an 'Invalid XML' error when I try and load an xslt file into memory using the Xsl.XslTransform component in asp.net. The xml is perfectly valid (can be viewed in IE) but the app refuses to load...
3
by: Steve | last post by:
Is there any way of specifying the startMode when using the xslTransform class? We are updating code which used msxml to the system.xml classes but can find no way to specify the startMode. We...
1
by: Yuriy | last post by:
Hi, Can anybody explain the following? Say I have the following source XML and XSLT (see below). No matter what this XSLT does. It is just a sample to show a problem. the idea is that XSLT...
1
by: manlio | last post by:
how can I load a XSL string (not an xsl file!!) with XslTransform ??? If I use the code: // Create a new XslTransform class and load the stylesheet XslTransform myXslTransform = new...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.