hello,
I get XXX when I run the following code (if and only if the outcome of
transformation is beyond 20 MB)
With _Xslt
.Load(XslFile)
.Transform(XmlDocument, Nothing, MyWriter, Nothing)
End With
If I run this in .NET 2.0 Beta 2, it gets on and it's much faster as well.
If run the same on MSXML 4.0, it's works and it's much faster too.
Is this a known issue in .NET 1.1 ? Is there a way around it? or do I have
to switch to MS XML 4.0 for now?
--
Mohammed Banat 3 6143
Mohd Banat wrote: I get XXX when I run the following code (if and only if the outcome of transformation is beyond 20 MB)
With _Xslt
.Load(XslFile)
.Transform(XmlDocument, Nothing, MyWriter, Nothing)
End With
If I run this in .NET 2.0 Beta 2, it gets on and it's much faster as well.
If you are using XslCompiledTransform instead of XslTransform in .NET
2.0 then you should certainly see much better performance. Or are you
using XslTransform in .NET 1.1 and .NET 2.0 and then see much of a
performance difference?
Is this a known issue in .NET 1.1 ? Is there a way around it?
A workaround might depend on the stylesheet and the XML input and
finding more efficient ways to transform which could involve changing
the stylesheet, breaking up the input, breaking up the output.
--
Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/
Well,
first, by XXX I meant System.OutOfMemoryException (sorry).
second, I'm not xml/xsl/xslt guru, but I beleive that what we have is fairly
simple, and I'm not sure if it can be optimized. We're trying to generate
WordML out of some database queries. The output XML is WordML, and cannot be
chunked easily, I assume.
Is there anything that we can check? like an article on optimization (if
that's the way to go)?
How come .NET 2.0 and XML 4.0 has no problem?
--
Mohammed Banat
"Mohd Banat" wrote: hello,
I get XXX when I run the following code (if and only if the outcome of transformation is beyond 20 MB)
With _Xslt
.Load(XslFile)
.Transform(XmlDocument, Nothing, MyWriter, Nothing)
End With
If I run this in .NET 2.0 Beta 2, it gets on and it's much faster as well. If run the same on MSXML 4.0, it's works and it's much faster too.
Is this a known issue in .NET 1.1 ? Is there a way around it? or do I have to switch to MS XML 4.0 for now?
-- Mohammed Banat
Hi Mohanmmed,
Is the Xml document very large and the XSL transformation comsumes a lot of
resource? Yes, as I know, the MSXML, .NET xml 1.1 and 2.0 has a lot of
difference. .NET xml 2.0 has a lot of optimizations than 1.1. And the
implementation of .NET xml and MSXML is totoally different. It's hard to
reproduce this error on my machine, even with a large xml doc. In this
case, I suggest you try to contact Microsoft PSS for this issue. If this is
really a bug, the service will be free of charge. http://support.microsoft.com/default...;OfferProPhone
Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights." This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: solomon |
last post by:
Hi,
I have installed VS.Net(Ver:7.0.9466) & .Net_Frameword_1.0
(Ver: 1.0.3705). Until recently, I could develop and run
applications using the IDE.
A couple of days ago, I downloaded a sample...
|
by: Ripul Handa |
last post by:
Hi
We are running IIS 5.0 cluster with cisco local director.
We are running a website on 2 webservers and I have been
observing that from past few days we have are getting
this error message of...
|
by: SMG - Idealake |
last post by:
Hi all,
I am getting following error on my error, what could be the reason?
Exception of type System.OutOfMemoryException was thrown.
Description: An unhandled exception occurred during the...
|
by: Ashkan Daie |
last post by:
Hi All,
When trying to install a performance counter via InstallUtil I get the
following exception:
Creating performance counter category Enterprise Library Caching.
An exception occurred...
|
by: chad |
last post by:
assuming I have 2GB memory. And 1.5GB available.
dim c1(,) as byte
redim c1(1000, 1024*1024)
throws system.outofmemoryexception. I'm like... huh? Initially I thought a
lot of space is taken...
|
by: AY |
last post by:
Hello,
We use a third party reporting system (Actuate) which provides soap services
via WSDL.
My web application was initially built in Visual Studio 2003 using .NET 1.1.
I was able to...
|
by: =?Utf-8?B?UGlnZ3k=?= |
last post by:
Hi to all,
I am getting this System.OutOfMemoryException calling the
Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(<stream>,<Obj>) method.
The type of <streamis...
|
by: =?Utf-8?B?aml0ZW4=?= |
last post by:
Hi,
We are getting System.OutOfMemoryException exception in an asp.net
application hosted on IIS.
The problem is popping up randomly once every few days.The web server needs
to be restarted as...
|
by: Aryan |
last post by:
Hi,
I am using C# with framework 2.0 and creating PDF files on-fly, along
with this I am using Windows 2003 Server.
I am using Byte to take the data input and then save into pdf format
on...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
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,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
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...
| |