If your client is particularly helpful, you could get them to create a
minidump of your application the next time it becomes slow. You can then use
WinDBG and the SOS extension to find out if it is related to objects that
aren't being collected. Google for AutoDump+ and WinDBG - both are available
free from Microsoft's website.
A good guide to WinDBG is available here:
http://mtaulty.com/blog/archive/2004/08/03/609.aspx
I would take a guess that the other issue you describe is just Visual Studio
being paged to disk overnight.
> I have an application that is in production and every so often, i am told it
> becomes slow and nearly unresponsive, so they have to reboot it, then it
[quoted text clipped - 14 lines]
>
> thanks
TS - 11 Feb 2005 15:45 GMT
how do i do a minidump of my application, i'm not familiar with this.
thanks
> If your client is particularly helpful, you could get them to create a
> minidump of your application the next time it becomes slow. You can then use
[quoted text clipped - 26 lines]
> >
> > thanks
Matt Garven - 12 Feb 2005 03:09 GMT
You need to download Debugging Tools for Windows from
http://www.microsoft.com/whdc/devtools/debugging/installx86.mspx onto the
machine that will create the dump.
Then run the following command once the process is running slowly:
C:\Windows\System32\cscript.exe "C:\Program Files\Debugging Tools for
Windows\adplus.vbs" -Hang -p <ProcessId> -quiet -o <OutputDir>
for example:
C:\Windows\System32\cscript.exe "C:\Program Files\Debugging Tools for
Windows\adplus.vbs" -Hang -p 2055 -quiet -o C:\Temp
You can find the process id in task manager.
Hope this helps.
Regards,
Matt Garven
> how do i do a minidump of my application, i'm not familiar with this.
>
[quoted text clipped - 39 lines]
> > >
> > > thanks
TS - 14 Feb 2005 17:19 GMT
thank you!
> You need to download Debugging Tools for Windows from
> http://www.microsoft.com/whdc/devtools/debugging/installx86.mspx onto the
[quoted text clipped - 60 lines]
> > > >
> > > > thanks
TS - 15 Feb 2005 20:46 GMT
does anyone else have any input on why VS runs real slow for a while in the
morning when i leave computer on?
> If your client is particularly helpful, you could get them to create a
> minidump of your application the next time it becomes slow. You can then use
[quoted text clipped - 26 lines]
> >
> > thanks
"Jeffrey Tan[MSFT]" - 16 Feb 2005 06:55 GMT
Hi TS,
For this issue, I suggest you check if there is any background process
running all night, which costs much memory usage and causes the system slow
done.
Also, does VS.net still takes 20 seconds for the second and following
build? Actually, for Windows system, it will poll a lot of physical pages
from memory to the disk paging file to reduce memory usage for long did not
used application, so after a long time, the VS.net's memory pages are
stored on the paging file, and the first build will cause the system to
retrieve the memory pages from disk paging file again, which will take a
far long time than normal time.
Hope this helps.
==================================================
Thank you for your patience and cooperation. If you have any questions or
concerns, please feel free to post it in the group. I am standing by to be
of assistance.
Best regards,
Jeffrey Tan
Microsoft Online Partner Support

Signature
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.