Closed Bug 101966 Opened 24 years ago Closed 24 years ago

'Storage in use' under about:cache displays the wrong size.

Categories

(Core :: Networking: Cache, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: andre.bugs2, Assigned: gordon)

References

()

Details

[Observed with build: 2001-09-27-08 on Linux] The "Storage in use" field in about:cache displays the wrong size of your cache directory - it seams like it displays half the value of the real size. Steps to reproduce: 1) Open about:cache 2) Read the value after "Storage in use:" 3) Run 'du -b <your-cache-directory>' in an xterm. 4) Compare the two values. Result: The real size of the cache directory is much larger than what about:cache says. Expected result: "Storage in use" should display the real size of the Cache directory. As an example, "Storage in use:" for me is 872704 Bytes. If I run 'du -b' on my cache directory (/home/andre/.mozilla/andre/4rt3trcl.slt/Cache) the size is reported as 1404928 bytes. I have my Cache size set to default value.
The "Storage in use" figure represents the amount of data the cache is storing, not the amount of disk space used. There is a small amount (compared to the 50 Mb default value) of administrative overhead as well, that may not be represented in the figure reported. Each platform has different discrepancies between logical and physical file sizes. Bug 81724 will help reduce the difference between the logical size of the cache data and the physical size reported by the OS, so I'm going to mark this bug as INVALID.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.