From owner-freebsd-current@FreeBSD.ORG Fri Jan 19 15:31:30 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1E69716A401 for ; Fri, 19 Jan 2007 15:31:30 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 2872213C468 for ; Fri, 19 Jan 2007 15:31:28 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: (qmail invoked by alias); 19 Jan 2007 15:31:27 -0000 Received: from h081217095052.dyn.cm.kabsi.at (EHLO taxman.pepperland) [81.217.95.52] by mail.gmx.net (mp044) with SMTP; 19 Jan 2007 16:31:27 +0100 X-Authenticated: #16703784 From: Stefan Ehmann To: freebsd-current@freebsd.org Date: Fri, 19 Jan 2007 16:31:26 +0100 User-Agent: KMail/1.9.5 References: <200701172045.35137.shoesoft@gmx.net> <45B00BF5.6030200@FreeBSD.org> In-Reply-To: <45B00BF5.6030200@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200701191631.27034.shoesoft@gmx.net> X-Y-GMX-Trusted: 0 Cc: Jason Evans Subject: Re: very high memory usage in -current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jan 2007 15:31:30 -0000 On Friday 19 January 2007 01:08, Jason Evans wrote: > Stefan Ehmann wrote: > > [huge jpeg/png images cause memory bloat with konqueror and gtk apps, on > > -CURRENT.] > > > > I don't really know what's causing this problem. Maybe it's related to > > jemalloc, but I'd be surprised if no one else has noticed this before. > > If you think jemalloc is involved, the easiest way to check is by > reverting src/lib/libc/stdlib/malloc.c to revision 1.92, which is > phkmalloc. If this substantially changes memory usage, then there are > further diagnostics that can be used to help understand the issue. When reverting to r1.92 konqueror memory usage goes back to normal values (i.e. as on 6.2-Release) > If jemalloc is involved, here's what could cause such behavior. First, > you would have to be running on a 32-bit platform, so that sbrk() is in > use (rather than pure mmap() as for the 64-bit platforms). Yes, I'm on i386. Stefan