In order to calculate sizes of folders, ShowSize has to traverse the complete list of files within subfolders to add up file sizes and produce the folder sizes report. This scan may take some time, especially on huge disks and network shares. In this article, I will explain how ShowSize uses smart caching to save on time of rescanning within the subfolders of the current scan.

Suppose you scanned a huge folder G:\users and it took about 40 seconds to produce the report. Now you want to go to a subfolder “userA” within it to see all the reports on userA. You are specially interested in the “Only Files Report” to see what is the largest file within userA.

To do this, you select that subfolder userA in the left pane of ShowSize to get the reports on it.

Since the reports need to be regenerated when the folder changes in the left pane, does this mean ShowSize again scans the file list in the folder userA? But in the last scan where we scanned its parent folder G:\users, the subfolder userA was included. Why can’t ShowSize just take the list of files from the last scan to produce the report for subfolder userA?

That’s what ShowSize precisely does and very smartly too. ShowSize keeps a cache of list of files in temporary area of Windows.

Here is how ShowSize decides whether to rescan the list of files:

  • If the new subfolder that you selected is within the list of files last scanned, it just uses its cache (temporary files) to refill the reports. Note that the cache is different for each running copy of ShowSize. So for rescan it looks within its current cache only.
     
  • If the new folder is not within the cache of its last scan, it has to rescan the list of files within the new selected folder.
     
  • It also rescans unconditionally if you click on the Refresh button.

Now that you know how ShowSize works with its cache, you can plan ahead to save your time.

 
Tips on saving time based on the knowledge of how cache works:

  • If you plan on visiting several huge folders on a drive, better scan the whole drive or the common parent folder if there is one, and then select the desired folders in the left pane.
     
  • Use the right-click operation “Start another ShowSize on a folder” sparingly. If you start another copy, the second ShowSize copy will create its own cache and will need to rescan the list of files in that subfolder.
     
  • Use Refresh only if necessary, especially on huge scans.
     
  • If you have scanned one huge folder and now want to go to a folder on another drive, better start another copy of ShowSize on that folder so that your current folder and its cache stays with this copy of ShowSize.
     

    If starting another copy of ShowSize is inconvenient and you tend to forget to do it when switching to another drive, use the Advanced option “Start another ShowSize when the drive changes.” This will automatically start another ShowSize when you select a folder on another drive.
     

  • Make sure that there is enough space in the drive that contains the temporary area of Windows because ShowSize uses it as its working folder and creates all its cache files there. In the latest version of ShowSize, you can change the working folder of ShowSize to a folder on another drive with plenty of space.

Save Reports feature of Pro Edition: Network administrators often need to keep snapshots of file lists for audit purposes. The Pro Edition of ShowSize allows to save the current scan data (cache) to a file that you can view later. The nice thing is that you can view this report on any other system too. For this reason, when you are viewing a saved report, it doesn’t allow file operations on it. You can only view all the reports interactively.

Also see:
How to exclude certain folders from scanning to make it more efficient

{ Comments on this entry are closed }

ShowSize 5.1.8 now available

Pie Chart showing Folder Sizes in Windows

March 7, 2011 (274)

in News

I’m happy to announce a new version 5.1.8 with big improvements in the Pie Chart feature.

New in version 5.1.8, Pie Chart improvements:


The Pie chart now appears in 3D and takes less vertical space, quite useful for printing. You can switch off the 3d option to get the earlier 2D chart. We have also fixed many problems, such as, the option “No colors, use Patterns.” The Pie chart Labels mode has also been improved by allowing multi-line labels.

New in version 5.1.8, Working Folder option:

Now you can redirect the Working Folder of ShowSize to another drive if you are short of space in the Windows temporary folder that it uses by default to collect its data.

{ Comments on this entry are closed }

How to exclude certain folders from scanning to make it more efficient

August 30, 2010

I want to get information about most of the folders on a specific hard drive, but would like to exclude 6 folders on that drive. How do I do that?
Please click on the Options and look at the Scan page. It has a button “Exclude these folders from scan” that allows you to add a [...]

Read the full article →

How to prevent ShowSize from scanning when it starts

August 30, 2010

The newer ShowSize has this option ON by default so that it doesn’t start the scan till you click on the button “Start processing this folder.” But you can switch off that option too.
Is it possible to prevent ShowSize from automatically starting to scan (whatever machine was last scanned) when the program is started?
Click on [...]

Read the full article →

How I analyze user disk space with ShowSize

July 15, 2009

“I use ShowSize as a tool to assist in the development of Excel Workbook Reports for our IT staff. The tool has also become valuable in the migration (virtualization) of our servers into an IBM Data Center running VMware Infrastructure and analyzing data at the multi-terabyte level.
At my most routine use, ShowSize allows me to [...]

Read the full article →

The report I use most often

February 3, 2009

As a developer, the “Only Files” report is most useful to me. When using Visual Studio, I often have my ASP.NET web site projects several levels deep. I keep a copy of the actual web site in another location from where I upload it by ftp to the server. This is so because the web.config [...]

Read the full article →

Redirecting the working folder used by ShowSize

December 19, 2008

This article is old. Now, ShowSize has an option where you can specify a folder on a different drive where it will create temporary files. This is specially useful if you are running out of disk space on the drive where Windows has its temp folder assigned.
But the following article is still useful to know [...]

Read the full article →

Reporting last used files

October 6, 2008

Updated information on this feature: This article is old. Now ShowSize does not show Unused Files report or Last Used column on Windows Vista/7 or later systems. It shows it on earlier systems like XP but only with a warning. In general, it is advisable not to depend on Last Used Date feature of Windows [...]

Read the full article →

Exporting CSV with a separator other than comma

October 1, 2008

I’m trying to export a files-only listing that is quite large (over 80000 files). About 550 of these files have commas in the filename. Because of this, when I try to do a CSV import, it is looking at the comma in the filename and thinking that it is supposed to be used as a [...]

Read the full article →

Seeing files created or modified today

September 5, 2008

Can ShowSize list ALL files even in sub-folders that were created on a certain date, such as, all files created today or a date I can enter? I would love to be able to see all the files created or modified today because I have a disk that is filling up fast and not [...]

Read the full article →