Closed Bug 44961 Opened 25 years ago Closed 24 years ago

memory usage, freeing/leaks. general.

Categories

(Core :: Networking: Cache, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED INVALID

People

(Reporter: jhayryne, Assigned: kandrot)

References

()

Details

(Keywords: memory-leak, Whiteboard: [nsbeta3-])

there are several bugs about mozilla's memory consumption, this is an attempt to explain the biggest issue here and narrow this down some. pre: memory cache is set to 0 kbytes. start up mozilla, it takes the usual ~20mbytes. query bugzilla for ALL bugs, after loading the single huge document the process size has grown to about 290mbytes. keep on browsing to whatever other pages, the process size doesn't go down, pressing the "clear memory cache" wont affect it (well, it was set to 0 anyway). the process size keeps growing until mozilla finally crashes to whatever reason. opening a new browser window and closing the old one doesn't affect it either. i'm using such a large page as an example here to demonstrate the extremity of this issue. i'm sorry i don't have the knowhow to investigate this further, but i think the fact that mozilla seems to leave the ~270mbytes of memory reserved after visiting and leaving _one_ large page says there's be something REALLY wrong here... can this be due to *minor* leaks??
(janne hayrynen) could you please include the build ID with any reports you submit. Thanks
just tested this to still happen with build 2000070909.
my comm build 2000071211 eats up 300+ megs, and I freezes up too much to try this bug fully with the URL listed. The file in question, when I viewed it, was 17Megs. As a note, I tried viewing the file locally, and it still eats up hoards of memory - so it doesn't appear to be network related. If I search on bugzilla for all Unconfirmed, new, assigned, or reopened bugs; then Mozilla goes from 30megs to 82 megs - and never down, even after I click clear memory and clear disk cache buttons in the cache preferences.
Status: UNCONFIRMED → NEW
Component: Browser-General → Networking: Cache
Ever confirmed: true
Assignee: asa → neeti
QA Contact: doronr → tever
reassigning
This doesn't necessarily have anything to do with the cache...
Keywords: mlk
Yes, this is not necessarily a cache bug. There is a bug filed about the "clear memory cache", bug 30670. This is a very general bug about memory leaks in mozilla. Reassigning to warren for now to get it on his radar. Neeti
Assignee: neeti → warren
Reassigning to kandrot.
Assignee: warren → kandrot
Keywords: nsbeta3
Whiteboard: [nsbeta3+]
Status: NEW → ASSIGNED
Not holding PR3 for this. Marking nsbeta3-. Please nominate for rtm if there's something here we need to fix before shipping seamonkey, with explanation about which specific leak we need to fix, how big it is, etc.
Whiteboard: [nsbeta3+] → [nsbeta3-]
*** Bug 65742 has been marked as a duplicate of this bug. ***
This seems unrelated to the necko cache.
Component: Networking: Cache → Browser-General
Linux does not report memory usage correctly. The size you see is the size of the process mulitplied by the number of threads the process is using. Clearing our caches will have little to no effect on the memory reported, since the OS counts memory that it has cached as belonging to us. The memory is not really in use by us, and will be used by another process if needed, but is cached by the OS to make apps faster. I believe the crash was due to other problems, since it was back when the release was less stable.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
-> cache qa to me. VERIFIED: Invalid. If there is set of steps that creates a test case for Mozilla 0.9 or later, please put it here and re-open.
Status: RESOLVED → VERIFIED
Component: Browser-General → Networking: File
QA Contact: tever → benc
Component: Networking: File → Networking: Cache
You need to log in before you can comment on or make changes to this bug.