Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Mozilla memory usage

2 views
Skip to first unread message

srinivas

unread,
Nov 9, 2009, 12:40:23 PM11/9/09
to
**Please let me know if I need to post to a different group.**

Hi

Our product is built on top of Mozilla Firefox 3.0. We use it
differently from a regular user since ours is an automated solution
and in a given time span it issues lot more requests.

One of the problems we are facing is that Mozilla is using lot of
memory, if it is run for a long time. In some cases, long time can be
few hours and in other cases it is more than 18 hours. What I noticed
was that mozilla is holding on to lot of memory. VM size is getting
more than 1GB and eventually it is crashing.

Then I did some tests with the smaller sized scans that run about an
hour. I noticed that after the automated run is completed, Mozilla is
giving back most of the memory. If I cleanup the data structures that
are created by our product, it is giving back around 10 MB more.
Releasing of the major chunk (120MB -150MB) of memory is not happening
until the automation is completely stopped. Is there a way to make
Mozilla to release the memory sooner?

While testing, I played with gc() and changed the following
preferences.

dom.storage.enabled false
browser.history_expire_days 0
browser.sessionhistory.max_entries 2

But it did not help. Another thing I noticed was that my back button
has lot of entries (almost 50) but not sure if it is related to the
problem.

Please let me know of any suggestions you might have to reduce the
memory usage.

Thanks
Srinivas

Wes Garland

unread,
Nov 9, 2009, 1:20:45 PM11/9/09
to srinivas, dev-tech-...@lists.mozilla.org
Silly question, have you tried with a more current version of Firefox?

The guys at Mozilla are constantly working on the browser. In particular,
3.5 is a major incremental jump from 3.0. Testing a newer version is likely
to be useful, even if the result is "no change" (because it will help to
isolate the problem).

Wes

> _______________________________________________
> dev-tech-js-engine mailing list
> dev-tech-...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-tech-js-engine
>

--
Wesley W. Garland
Director, Product Development
PageMail, Inc.
+1 613 542 2787 x 102

srinivas

unread,
Nov 9, 2009, 1:32:18 PM11/9/09
to
Good point.

Unfortunately it is a big change for us. For now I have to work with
the version we are using.

Srinivas

0 new messages