CLR doesn't do warm start?

B

benji

Hi,

As this article (http://msdn2.microsoft.com/en-us/magazine/cc163655.aspx)
mentions, there is a cold and warm start time for managed apps. I'm running a
few .net 2.0 winforms apps on my desktop (XP) and until last week, I had the
expected cold followed by warm time. Now, my cold and "warm" times are about
identical. I don't know what changed. It could be something else that's
running in memory and being a hog, but I'm wondering if there is some CLR
switch that says "disable warm starts" that I can look at?

Thanks...

-Ben
 
J

Jon Skeet [C# MVP]

benji said:
As this article (http://msdn2.microsoft.com/en-us/magazine/cc163655.aspx)
mentions, there is a cold and warm start time for managed apps. I'm running a
few .net 2.0 winforms apps on my desktop (XP) and until last week, I had the
expected cold followed by warm time. Now, my cold and "warm" times are about
identical. I don't know what changed. It could be something else that's
running in memory and being a hog, but I'm wondering if there is some CLR
switch that says "disable warm starts" that I can look at?

It's not the the CLR is doing anything special (as I understand it) -
just that the Windows file cache will make it a lot quicker to load
things the second time.

Chances are there's some service or start-up app which is using .NET.
It may be starting up and then shutting down again, but if it's loaded
the CLR at some point, the cache is likely to have kept those pages.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top