XslTransform memory overload - XML SOAP
This is a discussion on XslTransform memory overload - XML SOAP ; Hi.
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 ...
-
XslTransform memory overload
Hi.
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.
I've already tried use a FileStream to keep memory free but has no
effect.
Any ideas?
Thanks.
-
Re: XslTransform memory overload
arochax 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/
-
Re: XslTransform memory overload
Would you please share your code and data? We will look at it.
Thanks,
Zafar
<arochax> wrote in message
news:1144164604.894729.12200@z34g2000cwc.googlegroups.com...
> Hi.
>
> 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.
>
> I've already tried use a FileStream to keep memory free but has no
> effect.
>
> Any ideas?
> Thanks.
>
-
Similar Threads
-
By Application Development in forum RUBY
Replies: 0
Last Post: 11-29-2007, 04:14 AM
-
By Application Development in forum XML SOAP
Replies: 2
Last Post: 12-03-2006, 10:57 PM
-
By Application Development in forum XML SOAP
Replies: 12
Last Post: 11-07-2006, 02:55 AM
-
By Application Development in forum CSharp
Replies: 3
Last Post: 03-31-2005, 01:09 PM
-
By Application Development in forum DOTNET
Replies: 7
Last Post: 09-20-2004, 04:53 PM