By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,740 Members | 844 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,740 IT Pros & Developers. It's quick & easy.

Performance degradation

P: n/a
Hey group,
I've been workin on this for 3 days now... It's got me all confused.

I wrote a class to convert an HTML dom to an XML dom. HTML dom is provided
by Microsoft.mshtml.dll.
Next, I wrote a vb.net windows forms application which uses a
System.Net.WebClient object to reteive a web page from an https:// address.
Next I feed the html code to the converter and get the XMLDocument back.
Feed the XML Document to an Xml.Xsl.XslTransform object and write the output
to a textbox control.
This takes all of 10 seconds to run and the process consumes approx 23MB
memory.

Next I did the same thing with an aspx web page. Same process except write
the output to Response.OutputStream.
IF the code doesnt time out it takes between 1 and 2 minutes to run and the
aspnet_wp.exe process consumes approx 150MB of memory.

Any idea what would cause such a wild swing in behaviour?

Thanks in advance for any help.

-Dan
Nov 18 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hi,

I dont have a clue, but if I have to deal with such a problem I use any
available profiler (ants for example).

HTH

Natty Gur[MVP]

blog : http://weblogs.asp.net/ngur
Mobile: +972-(0)58-888377
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #2

P: n/a
I appreciate the comment. I'll give it a shot.
"Natty Gur" <na***@dao2com.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Hi,

I dont have a clue, but if I have to deal with such a problem I use any
available profiler (ants for example).

HTH

Natty Gur[MVP]

blog : http://weblogs.asp.net/ngur
Mobile: +972-(0)58-888377
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.