Tracking down why that application is slow
Do you have an application such as AutoCAD that is displaying any of the following symptoms?
- Starting up slower than normal?
- Running slower than normal?
- Long delays when you try to run a particular function, like save, open, or plot?
If you have already ruled out typical suspects such as a virus, spyware, malware, hardware limitations, etc., then there is a good chance that maybe the application is simply looking for something that isn't there.
Windows and windows applications like to search for things for what seems like en eternity. How can you find out what is going on behind the scenes?
I've been using FileMon for years to view file activity in real-time. Many times you can spot a missing file or path that your application is looking for.
FileMon was originally developed and released by Winternals Software, available on their website, www.sysinternals.com. However, in July 2006, Microsoft acquired Winternals Software and now FileMon and other similar tools are available at http://www.microsoft.com/technet/sysinternals/default.mspx
FileMon (and most of the other "sysinternals" tools) are simple yet powerful, require no installation, very small in size, and best of all, free.
After you download the program (a tiny 280k download), unzip the contents. You can unzip the contents to a flash drive if you want it to be portable or you can simply unzip it into a local directory like C:\Program Files\FileMon . You will end up with 3 files. An executable, a help file, and the EULA.
Run the executable (filemon.exe) to get started. The first thing you will see is the "FileMon Filter" dialog. Here you can include, exclude, and highlight certain strings. For now, don't change anything, just press OK.

Now, depending on what applications you have running, you will see a variety of file activity going on. Even if it seems like your computer is idle, there may still be quite a lot of file activity happening. Things like virus checkers, media players, email applications, etc. may be working away even though they seem idle. Now that you have seen what this tool does, how can you use it to find out what is slowing you down?
Let's say your AutoCAD takes a long time to start up, and let's assume that the problem lies completely within AutoCAD to start with. So let's filter out all other file activity. Press Ctrl+L to open the filter dialog again. In the INCLUDE field, enter *acad*. This will instruct FileMon to ignore everything unless it contains "acad". If you have dual monitors, place FileMon on the opposite monitor from where AutoCAD opens. If you have a single monitor, position and size FileMon so that you can see the AutoCAD command line and then click the Options menu in FileMon and select "Always on Top". This will keep FileMon visible even when AutoCAD takes focus.
Now start up AutoCAD. You will see a line after line start scrolling by, probably faster than you can read it. Pay attention though, and when AutoCAD seems to freeze up, take a look at the FileMon screen and look at the last few lines, particularly the Path and Result columns. Is AutoCAD looking for a drive letter or network path that does not exist? Maybe it's looking for an add-on file that doesn't exist any more. If you don't see anything obvious, you may have to go back to the FileMon filter and remove the *acad* filter. Press the Defaults button to allow it to monitor ALL file activity. Maybe another application is slowing down AutoCAD by running some sort of process during AutoCAD startup.

FileMon has helped diagnose a problem where a particular DWG file just would not load in AutoCAD. It looked like AutoCAD was just locked up after loading about 20% of this drawing. FileMon revealed that the virus checker was busy scanning four, 18MB .SID files that were referenced in the DWG file. In another case, AutoCAD was taking almost a minute to open the MTEXT editor, but only the first time it was initiated. After using FileMon, it was determined that AutoCAD was finding over 300 fonts in the various search paths, and AutoCAD was reading each font once, the first time the MTEXT editor was launched.
Hopefully, you can use this tool to help diagnose a problem that you are having.
All content is copyright © CAD Panacea 2008-2010 unless otherwise noted.
All content of CAD Panacea is solely my own personal thoughts and opinions and do not represent my employer or any others.
All comments posted to this blog are the sole responsibility of the person making the comment.
Google, as a third party vendor, uses cookies to serve ads on this site. Google's use of their cookies enables it to serve ads to users based on their visit to your sites and other sites on the Internet. You may opt out of the use of these cookies by visiting the Google ad and content network privacy policy.




Recent comments
2 weeks 1 day ago
3 weeks 19 hours ago
3 weeks 1 day ago
3 weeks 2 days ago
3 weeks 2 days ago
3 weeks 3 days ago
3 weeks 4 days ago
3 weeks 5 days ago
3 weeks 5 days ago
3 weeks 6 days ago