Question Best approach to determine what is messing with disk space

Casualcoder0805

Prominent
Oct 5, 2023
15
0
510
I've had this off and on issue where my disk space seems to fluctuate at extreme levels. All I do is use Brave to browse the web and write code in PyCharm. Before I went to bed last night I had 197 GB of free space. I woke up this morning, worked for a couple hours and noticed it was down to 194 GB. I mean there's no way Windows is doing anything overnight on its own that would add that much data to my disk, right? PyCharm is my prime suspect but can't get into it with them until I have more details. I've done the basic stuff - cleanup, defrag, full system scan via defender. Still seems to happen. Not to mention there have been instances where the differential was much larger after not checking for awhile.

Any advice or tips on how to use event logging (very limited experience there) to narrow down the source would be greatly appreciated.


Windows 10 Pro
Intel(R) Core(TM) i7-6700T CPU @ 2.80GHz, 2808 Mhz, 4 Core(s), 8 Logical Processor(s)
Sandisk SSD 462 GB
32 GB RAM
 
defrag,
For the sake of clarity, you're running defragmentation on an SSD? If yes, you're looking for the drive to fail on your prematurely. You run defragmentation on an HDD, not an SSD(no need to either).
Sorry my computer vocab is terrible what I meant was Optimize Drives -> optimize. Given your thoughts I'm hoping that's not the same as defrag lol.
 
Appreciate the feedback guys I didn't realize 3GB in that timeframe was no big deal. Given that I'll ask this follow up...

Most of the 3GB differential over the past 12 hours should be a reflection of temp data, correct? If so I'd expect a similar number to appear when I use disk cleanup and check every box but that value is 128 MB. But maybe I'm misunderstanding or changed a setting somewhere in the past. I've had this computer for ~8 years now.
 
Appreciate the feedback guys I didn't realize 3GB in that timeframe was no big deal. Given that I'll ask this follow up...

Most of the 3GB differential over the past 12 hours should be a reflection of temp data, correct? If so I'd expect a similar number to appear when I use disk cleanup and check every box but that value is 128 MB. But maybe I'm misunderstanding or changed a setting somewhere in the past. I've had this computer for ~8 years now.

Disk Cleanup. Are you including all the system files?

But that 3GB up/down could be a LOT of things.

One way to investigate is a series of screenshots with WinDirStat. One per day, at the same time. of day.
Compare and see if you ca glean any difference.
Run as Administrator, save the output image with your favorite tool.
 
That would be significant!

Keep a log. Daily or weekly.
See if a trend develops.

But a single overnight variance of 3GB is totally unknown, and almost certainly just fine.
Great, the issue is probably tied to disk cleanup then (I do include system files when running it). For some reason it just isn't gathering/removing everything that it should. Not the end of the world as this rig has technically been demoted for a new Thinkpad - I've just been saddened by the fact that the performance doesn't seem much different so not really using it yet. Thanks again for the help!
 
Why do you think Linux is the "solution" to the "problem" of a 3GB overnight space variance?
I'm gonna have to reject the premise on multiple counts. First we got it clear that my "problem" isn't a one off case of 3GB added overnight. It's that there's an issue with disk cleanup (probably my own doing) not collecting/removing everything that it should. Second that comment was just a crack at microsoft adding programs to my computer on its own. Maybe I know nothing about Linux (hey that's why I'm opening Linux for Dummies :wink:) but I've always been under the assumption you don't have random apps just showing up out of nowhere.
 
I'm gonna have to reject the premise on multiple counts. First we got it clear that my "problem" isn't a one off case of 3GB added overnight. It's that there's an issue with disk cleanup (probably my own doing) not collecting/removing everything that it should. Second that comment was just a crack at microsoft adding programs to my computer on its own. Maybe I know nothing about Linux (hey that's why I'm opening Linux for Dummies :wink:) but I've always been under the assumption you don't have random apps just showing up out of nowhere.
Your premise is also faulty, in that you've not yet identified what that 3GB actually was.
It is not necessarily a problem with Disk Cleanup.

It may be temp files from something running in one of your browser tabs, or an overnight security update, or a new Restore Point, or any of a number of other things.
 
  • Like
Reactions: cruisetung
If I don't pay attention for a couple weeks and available space goes from ~200GB to ~130GB is that enough?
Could be pagefile growth, if you have left it on system managed.
Check pagefile settings.

Also System Restore points can take a lot of space, if you have it on unlimited.
Check System Restore settings.
 
Last edited:
  • Like
Reactions: cruisetung
I've had this off and on issue where my disk space seems to fluctuate at extreme levels. All I do is use Brave to browse the web and write code in PyCharm. Before I went to bed last night I had 197 GB of free space. I woke up this morning, worked for a couple hours and noticed it was down to 194 GB. I mean there's no way Windows is doing anything overnight on its own that would add that much data to my disk, right? PyCharm is my prime suspect but can't get into it with them until I have more details. I've done the basic stuff - cleanup, defrag, full system scan via defender. Still seems to happen. Not to mention there have been instances where the differential was much larger after not checking for awhile.

Any advice or tips on how to use event logging (very limited experience there) to narrow down the source would be greatly appreciated.


Windows 10 Pro
Intel(R) Core(TM) i7-6700T CPU @ 2.80GHz, 2808 Mhz, 4 Core(s), 8 Logical Processor(s)
Sandisk SSD 462 GB
32 GB RAM
Install a copy of ccleaner use the analyze button.
Wait a few days and run analyze again.
Perhaps it will show what is growing.
 

TRENDING THREADS