Can you organise folders by their size in Win 10?

Page 1 of 2 12 LastLast

  1. Posts : 248
    Windows 10 Pro
       #1

    Can you organise folders by their size in Win 10?


    Windows 7 doesn't let you organise folders according to their size. I was hoping that maybe 10 does? Or maybe there's some complicated reason why it can't ever be done?
      My Computer


  2. Posts : 426
    Windows 10
       #2

    Short version: it doesn't work that way, not without without performance hit. It's not like a box that you can plop on a scale to see how much it and it's contents weighs. There are a few third-party programs, I've used SpaceSniffer.
      My Computer


  3. Posts : 248
    Windows 10 Pro
    Thread Starter
       #3

    But Windows seems to keep track of the total use of space on the entire drive (which it displays for each drive in My Computer). Also, if I click on a folder and select properties, Windows adds up the contents and displays it before your eyes (before promptly forgetting it the moment you close that properties window).
      My Computer


  4. Posts : 426
    Windows 10
       #4

    It still has to take the time to calculate the size of every folder, which can take a very long time for nested folders. Hving a folder size sort would be a major performance hit which would lock up many systems.
      My Computer


  5. Posts : 234
    Windows 10 Pro (x64)
       #5

    Calculating the space used on the drive is a simple matter. Calculating the space used by an individual folder is not. You see the drive knows how big it is, it keeps a map of all the bits that are occupied with data counting all these bits is trivial.

    However, a folder is an abstraction within the file system, the file system does not keep records of folder sizes because the act alone would be a performance hit. Instead to calculate the size the system MUST traverse down the file tree adding file sizes to one another. (Skipping those it cannot see and doesn't have permission to see.) This takes time which is WHY it is not done unless you ask. (You ask when you open Folder Properties or hold your mouse over it.)
      My Computer


  6. Posts : 248
    Windows 10 Pro
    Thread Starter
       #6

    logicearth said:
    Calculating the space used on the drive is a simple matter. Calculating the space used by an individual folder is not. You see the drive knows how big it is, it keeps a map of all the bits that are occupied with data counting all these bits is trivial.

    However, a folder is an abstraction within the file system, the file system does not keep records of folder sizes because the act alone would be a performance hit. Instead to calculate the size the system MUST traverse down the file tree adding file sizes to one another. (Skipping those it cannot see and doesn't have permission to see.) This takes time which is WHY it is not done unless you ask. (You ask when you open Folder Properties or hold your mouse over it.)
    But surely that's only a problem if it deletes the data and has to recalculate it again every time I wish to see the size of folders. If it's smart and does the calculations in the background before they're needed, this need not be an issue.
      My Computer


  7. Posts : 426
    Windows 10
       #7

    It's still not able to account for hidden files and folders. Or changes.
      My Computer


  8. Posts : 1,255
    Windows 10 Pro
       #8

    The calculation of space consumed by a folder is very complex and can consume considerable resources. Doing this on a network drive could consume considerable bandwidth, in some cases seriously impacting performance. For a variety of reasons retaining the calculations would not be practical. And the results are at best only an approximation. This is a lot more complex than it appears.

    The implications of all this are well known to corporate IT managers. They would have serious issues with a feature with so many problems and of relatively little value.

    If an individual wishes there are third party utilities that have this feature. But building it into Windows itself would cause too many problems.

    Again, this if far more complex than it appears.
      My Computer


  9. Posts : 248
    Windows 10 Pro
    Thread Starter
       #9

    I've noticed that when I use the web interface of my Box (cloud storage service) account, it immediately gives the size of each and every folder I hover the mouse over. I suspect that the software might not be Windows-based.
      My Computer


  10. Posts : 5,478
    2004
       #10

    It's not the same - it is only telling you what it has already calculated as a "tip". OneDrive does the same - it will tell me the size of a folder immediately on the web interface but if I want to upload 5GB it will take me a day and a half as it seems to cap uploads at 3GB per day. During this time it has plenty of time to add it up.

    On my SSD though I can move files around at about 480mbs and the system doesn't bother looking at the total size until I ask it as otherwise the whole system would grind to a halt.

    Even I have 20k .txt files (they are source files for programs) and are on average 100kb in size. If I move them all from one place to another and you want to see immediately how big they are (about 1GB uncompressed as .txt, 32MB as a zip or on OneDrive) it takes time even on SSD. It is a waste of resources to add it all up - all the time. Better to calculate it when required - just in time.

    @LMiller7 already explained it above quite well I think.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 06:14.
Find Us




Windows 10 Forums