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

RESOLVED INVALID

Status

()

Core
Networking: Cache
RESOLVED INVALID
17 years ago
17 years ago

People

(Reporter: André Dahlqvist, Assigned: gordon)

Tracking

Trunk
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

17 years ago
[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.
(Assignee)

Comment 1

17 years ago
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
Last Resolved: 17 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.