bleachbit icon indicating copy to clipboard operation
bleachbit copied to clipboard

Feature Suggestion: Improve "Wipe Free Space" Warning to Prevent Disk Full Lockouts

Open alexander-dreyzen opened this issue 11 months ago • 4 comments

Subject: Improve "Wipe Free Space" warning to explicitly mention manual cleanup requirement on interruption

The Problem

When a user runs the "Wipe Free Disk Space" operation, BleachBit creates a massive temporary file to overwrite available sectors. If this process is forcefully interrupted (e.g., power loss, crash, or user force-kill via Task Manager), this temporary file is not deleted.

This results in a critical failure state for the user:

  1. The operation aborts.
  2. The disk remains 100% full (0 bytes free).
  3. The user is often unaware that a single file is the cause and may not know how to recover the space without technical knowledge (finding and deleting the temp file or re-running a specific BleachBit cleaner).

Proposed Solution

Update the confirmation dialog warning to explicitly inform the user of the consequences of interruption and the specific recovery step.

Revised Warning Text

Please implement the following text in the warning dialog, using explicit line breaks for readability:

This option will write a large temporary file to fill all free disk space. \n IMPORTANT: If this process is interrupted or force-closed, your disk will remain full (0 bytes free). \n If this happens, you MUST restart BleachBit and run 'System - Temporary Files' to recover your disk space.

alexander-dreyzen avatar Dec 06 '25 22:12 alexander-dreyzen

Commit 81bbdff527408258d1ca36f56a1fb8ddcccfc60f automatically detects the problem (the next time the application is started), and it offers to help the user delete the files.

Commit f7893635c44f158aaeaf4882243d73ba86356626 improves the description.

az0 avatar Feb 08 '26 22:02 az0

Bleachbit crashed on me on the latest release (5.0.2) while wiping free space on a 4TB drive. Now I'm sitting with a 2.2 TB tmp file created by BleachBit on that drive that I cannot delete. I tried the System > Temporary Files option but that does NOT clear the stuff up.

Restarting the app does not detect the problem and does not offer to help me delete the file.

Running the Free Disk Space option again only creates an additional file on the root of the drive instead of continuing where it left off.

Image

wpprrz avatar Apr 07 '26 16:04 wpprrz

Now I'm sitting with a 2.2 TB tmp file created by BleachBit

Do you mean it's 2.2TB because you found the specific file and saw that size, or you mean your available space is 2.2 TB smaller than expected?

on that drive that I cannot delete.

You can't delete it because you can't find the file, or because you don't have permissions to delete it, or for some other reason?

I tried the System > Temporary Files option but that does NOT clear the stuff up.

Does it list the file?

Does it show an error when trying to delete it?

Restarting the app does not detect the problem and does not offer to help me delete the file.

That feature is not available in version 5.0.2: you would need at least 5.1.0, though 5.1.1 replaced 5.1.0.

Running the Free Disk Space option again only creates an additional file on the root of the drive instead of continuing where it left off.

Yes, that would not help.

az0 avatar Apr 07 '26 17:04 az0

Do you mean it's 2.2TB because you found the specific file and saw that size, or you mean your available space is 2.2 TB smaller than expected?

As you can see on my previous post I've attached a screenshot of the file on the root of the drive. So to answer your question, I located the file and that's how I identified the file size...

You can't delete it because you can't find the file, or because you don't have permissions to delete it, or for some other reason?

I can delete the file in Windows, but it just reappears! I've tried regular delete, which is way too large for my Recycle Bin, as well as Shift+Delete which skips the recycle bin/prompt altogether. In both instances the file just reappears.

Does it list the file?

When I use BleachBit to scan for issues/clean files, no - it does not identiy the 2.2TB file anywhere. This is with ALL options checked.

Does it show an error when trying to delete it?

No error when trying to manually delete the file. Just the regular Windows prompts to confirm I'm sure I want to delete the file, and a progress bar as the file is supposedly being deleted from my drive.

That feature is not available in version 5.0.2: you would need at least 5.1.0, though 5.1.1 replaced 5.1.0.

I've tried the 5.1.1 Portable build -- while I was welcomed with the text/font readability popup, nowhere did BleachBit identify the 2.2TB file it created in the previous version.

wpprrz avatar Apr 08 '26 14:04 wpprrz