Sunday, 10 May 2015

Process Monitor saves the day

For some time now on my main development machine I’ve been having issues – Visual Studio has begun taking an extremely long time to load, and when running or debugging web apps these too have been taking too long to startup.

It’s one of those issues where you put off fixing it for a while as it’s not too bad, but then it gets to the point where it’s really hampering the dev/test/debug cycle, so this morning I set about working out what it could be. I disabled the extensions I have loaded and that made little difference, so then went to ProcessMonitor to see if I could work out what was happening.

In the case of Visual Studio, it would take around a minute to start a fresh copy. This was way too long. For websites, it was maybe 30 seconds or so – again, way too long. With process monitor running I created a new instance of Visual Studio, waited until it was done, and then paused event capture and went to have a look into the events.

It wasn’t long before I noticed a *lot* of files being written to the C:\logs directory – on my machine I keep this for one of two file types, actual log files from my code, and log files from the assembly log viewer, FusLogVw.exe. Smoking gun in hand I had a quick look at the size of the Logs directory and it was up to 8GB! Oops.

A small while later (after disabling FusLogVw.exe and deleting the files), I’m back to snappy performance with VS loading in about 4 seconds, and websites in a second or so.

Normal service resumed. Phew!

13 comments:

Jack Nguyen said...

It is totally right process of Monitor save and I like this way of processing. Thank you for sharing this process. Jack Nguyen

Oliver Maurice said...

I think that you should also check out this blog for some helpful info on how to write a great essay. This could be really helpful

Steve smith said...

Hi, great to see your website. I like the content and the research done behind every aspect of your blog. It looks HPE0-S51 dumps great and very knowledgeable. Keep it up the good work.

Barbara Lineberger said...

It is a nice post.real racing 3 modded apk ppsspp gold apk free download for android download hungry shark world mod

Robertleon said...

Visual studio has a great impact on the whole project where the interested group of people would like to have this platform.They might essay have about the future tendency to estabish all the features so that they can do.When they would like to bring them in working towards attainment of the target and their golas.

Johnn said...
This comment has been removed by the author.
Johnn said...

Thanks for this article. It contains the information i was searching for and you have also explained it well. We are also a app provider that deal in the any sector. AurjunPal |
click here

ethannoah said...

192.168.l.l is one of the common DNS Server IP addresses which the routers use as an access point. These servers act as a layer of abstraction for translation between hostname and IP addresses.

Unknown said...

Treasurebox is an online store which provide their customers all the latest household items, outdoor furniutre,electronic gadgets nz, Pop up gazebos nz and much more.
YOu will be easily buy all the items on a single click

jacklinemelda said...

The first step in cheap essay writing service USA is the choice of topic. The topic that is chosen by the writer determines the quality of the paper. Contact our Custom Research Paper Services company today!

meldaresearch said...

Through the assistance of our Write My Research Papers, you will get the best assignment help that will earn you good grades.Order Assignment Writing Help services from us and benefit from the knowledge and experience of professionals in different academic fields.

meldaresearch said...

All our Homework Assignment Help Online are normally written by an expert; therefore, there will never be a time when a student will get poor quality work. We provide students with Assignment Help Service that have been written by experienced writers. Students can count on us to get fast and effective help from writers who hold master’s and Ph.D degrees.

meldaresearch said...

Are you looking for Unmatched Cheap Dissertation Writing Services? Composing Nursing Writing Services is never simple, not even for the most knowledgeable or experienced learner is able to complete quality Cheap Term Papers for Sale.