Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Feb 2006 15:34:03 -0800
From:      Josh Carroll <josh.carroll@psualum.com>
To:        current@freebsd.org
Subject:   Re: xorg 6.9.0 mem leak
Message-ID:  <8cb6106e0602011534n85f3373p8f31cdf34dfacb2@mail.gmail.com>
In-Reply-To: <f383264b0602011454k54831e28n81339681c2d6e53f@mail.gmail.com>
References:  <17373.50882.270841.554876@roam.psg.com> <17374.32961.768874.463443@roam.psg.com> <c21e92e20601301340q5a8cef29ka38196f86225c39d@mail.gmail.com> <20060130214226.GA68308@xor.obsecurity.org> <17374.35319.265698.476631@roam.psg.com> <20060130215408.GA68492@xor.obsecurity.org> <17374.36245.570152.464206@roam.psg.com> <00D8C07F-FA95-47B6-9EF9-6C25652E93D2@freebsd.org> <17377.14732.391882.775974@roam.psg.com> <f383264b0602011454k54831e28n81339681c2d6e53f@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Assuming it is the pixmaps being cached by firefox causing this
growth, can someone with this problem please see this thread:

http://forums.mozillazine.org/viewtopic.php?t=3D354828#memcache

And set the maximum memory cache to 8000 or 16000, then see if this
problem persists?

The quick way to do this is:

about:config

Create a new integer key, named "browser.cache.memory.capacity" and
assign a value in KB for the cache size.

You can confirm the size set by opening:

about:cache

You should see:

Maximum storage size: 16000 KiB  (or whatever you set it to).

Watching xrestop, the Pxm mem value for Firefox should not exceed your
maximum set. If it remains below your value, but you still see X.org
or Firefox consuming/leaking memory, it may be an entirely different
problem, but I suspect this will fix the problem.

Josh


On 2/1/06, Matt Reimer <mattjreimer@gmail.com> wrote:
> On 2/1/06, Randy Bush <randy@psg.com> wrote:
> > > I've been running Xorg, firefox, and emacs, since last night (with
> > > jemalloc's redzone code enabled) on a two-day-old -current build, and
> > > after many invocations of firefox and emacs, with serious attempts to
> > > make firefox use lots of memory, Xorg's, memory usage has stabilized
> > > at ~75 MB mapped, and ~35 MB resident.
> >
> > what seems to be common with those of us seeing leakage is multiple
> > windows and many tabs.  i standardly have three windows each with
> > six to ten tabs.
>
> Maybe what's eating up the memory is Firefox 1.5's new feature to
> cache extra data in RAM in order to make Back/Forward fast.
>
> Matt
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org=
"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8cb6106e0602011534n85f3373p8f31cdf34dfacb2>