Closed Bug 249966 Opened 21 years ago Closed 21 years ago

heavy CPU and memory usage by mozilla and X at <http://www.highfidelityreview.com/>

Categories

(SeaMonkey :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 189805

People

(Reporter: aouthred, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040625 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040625 I am currently using mozilla-1.7-0.3.2 and xorg-x11-6.7.0-6 from fedora rawhide, but this issue has been present for a long time (at least a year, maybe longer). As soon as this page (or most sub-pages at this site) finishes loading, CPU and memory usage jumps. CPU usage sits at 30-40% on my system (P4-class). 20-30% of total CPU time is used by X, and 5-15% by mozilla. An additional 90MB or so of memory is used between mozilla and X (pmap output below). Firefox has the same problem, as does Konqueror, only with Konqueror CPU usage is even worse (total 60-70%). Turning java and javascript on or off makes no difference that I can tell. This problem also exists in mozilla on Win2k (at least with mozilla 1.6, which is the latest I have been able to test on this platform). In Win2k, however, the CPU usage is only present when the window is visible (it falls to zero when the window is covered or a new tab opened). MSIE does not show any excess CPU usage on Win2k (which is presumably why the website hasn't fixed whatever horrible thing they are doing). Some diffs between pmaps are shown below. I haven't used oprofile before, but I suppose that might be the next step. If there is anything an inexperienced debugger like me can do to help, let me know. Reproducible: Always Steps to Reproduce: 1. start mozilla in X or Win2k (maybe others, too) 2. load http://www.highfidelityreview.com/ 3. watch memory and CPU usage jump dramatically 4. close the page, and watch CPU and memory usage return to normal Actual Results: Big jump in CPU and memory usage using Win2k+moz1.6, and xorg+moz1.7. Expected Results: Load the page without excessive CPU or memory usage. MSIE somehow manages this on Win2k, but Konqueror has the same problem. Diff between before and after pmaps for mozilla shows: 287,288d286 < 44100000 19084 rw--- 0000000044100000 000:00000 [ anon ] < 453c6000 19084 rw--- 00000000453c6000 000:00000 [ anon ] 292c290 < mapped: 114916K writeable/private: 79664K shared: 792K --- > mapped: 76748K writeable/private: 41496K shared: 792K And for xorg: 55d54 < 4ca3c000 49604 rw--- 000000004ca3c000 000:00000 [ anon ] 58c57 < mapped: 217556K writeable/private: 67748K shared: 146244K --- > mapped: 167952K writeable/private: 18144K shared: 146244K
Saving to disk as web page complete I get 78K HTML with 12 tables and 250K in 40 gif & jpg files.
*** This bug has been marked as a duplicate of 189805 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.