ar*****@gmail.com wrote:
I'm using XslTransform to transform a XML resulting of a Dataset into a
Excel spreadsheet.
But the object is not releasing its resources while transforming and
I'm getting OutOfMemory errors.
The memory consumed by the process exceeds the size of 306 MB and the
IIS process is recycled, resulting in a "Server Application
Unavailable" error message. The size of the XML result might be 15MB.
The memory of process grows during de Transform method call.
Which overload of the Transform method exactly do you use, could you
show the code how exactly you call the Transform method, what kind of
arguments you pass in? Have you debugged that stylesheet outside of an
ASP.NET/IIS application to check whether there are no problems with the
stylesheet? What's the size of the input XML?
--
Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/