From owner-freebsd-hackers Fri Jun 23 01:55:18 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id BAA28847 for hackers-outgoing; Fri, 23 Jun 1995 01:55:18 -0700 Received: from ibp.ibp.fr (ibp.ibp.fr [132.227.60.30]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id BAA28826 for ; Fri, 23 Jun 1995 01:54:33 -0700 Received: from blaise.ibp.fr (blaise.ibp.fr [132.227.60.1]) by ibp.ibp.fr (8.6.12/jtpda-5.0) with ESMTP id KAA00719 ; Fri, 23 Jun 1995 10:54:27 +0200 Received: from (roberto@localhost) by blaise.ibp.fr (8.6.12/jtpda-5.0) id KAA06398 ; Fri, 23 Jun 1995 10:54:27 +0200 From: roberto@blaise.ibp.fr (Ollivier Robert) Message-Id: <199506230854.KAA06398@blaise.ibp.fr> Subject: Re: Memory leak somewhere? To: henrich@crh.cl.msu.edu (Charles Henrich) Date: Fri, 23 Jun 1995 10:54:26 +0200 (MET DST) Cc: freebsd-hackers@freebsd.org In-Reply-To: <199506230630.CAA09279@crh.cl.msu.edu> from "Charles Henrich" at Jun 23, 95 02:30:03 am X-Operating-System: FreeBSD BUILT-19950501 ctm#617 X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 854 Sender: hackers-owner@freebsd.org Precedence: bulk > suggests perhaps there is a problem with something somewhere in FreeBSD. This > behaviour seems to be new with the 0412-SNAP, although I dont have any > proof of this. This is crazy, I have a 32mb machine, and its performing like > a dog because of this sort of memory usage (!) :(. On a 16mb machine, if you > run any significant apps you go to swaphell because of the memory usage here. > Could this be a leak in the kernel malloc, or mmap code or some such? Relink the server with either -lgnumalloc or -ldlmalloc (found in ports/devel/libdlmalloc). The libc's malloc take as much as two times the memory needed per allocation. I think we should throw away the libc's malloc and adopt another one. -- Ollivier ROBERT -=- The daemon is FREE! -=- roberto@FreeBSD.ORG FreeBSD keltia 2.0-BUILT-19950503 #3: Wed May 3 19:53:04 MET DST 1995