Thursday, April 12, 2012

Quick Tip: Always Show Solution in Visual Studio 2010

Oftentimes I'd like to perform a task on the solution, but in Visual Studio solutions with only one project, the solution doesn't show by default.

Thanks to K. Scott Allen in a Pluralsight video (unfortunately, I forget which one as I've been browsing around a lot), you can take the following steps to get VS to always show the solution:

  • Tools Menu --> Options...
  • Expand the Projects and Solutions category
  • Click General
  • Check the Always Show Solution box.
And voila! A solution will always be there.

Tuesday, April 10, 2012

Chkdsk on Windows 7 is one memory-leaking Sonofabit, Uses 30 GB of RAM

My desktop PC has 32 GB of RAM. It's ridiculous in that way, by almost any standard. I assumed that when I hit full usage of memory it would be because my entire virtual network of random servers, etc. would be running at once.

I was wrong. All it took was running Chkdsk.exe on an external HDD.

See below for yourself:

In case you can't see it clearly, that's Chkdsk.exe taking up 30,060,916 KB of RAM. Otherwise known as 30.06 GB of RAM.

Apparently this has been a known issue for a long time. If I find a resolution, I'll post one here in problem/solution format. If you have any tips, drop a line in the comments!

Update: Apparently the OS shipped with this bug and there's no attempt to correct it as it's a very low-level architecture issue. I'll check Windows 8 in a VM and see if it runs into the same problem.