From owner-freebsd-questions Tue Jan 27 12:43:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA05209 for questions-outgoing; Tue, 27 Jan 1998 12:43:59 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA05104 for ; Tue, 27 Jan 1998 12:43:38 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id MAA16756; Tue, 27 Jan 1998 12:43:30 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Date: Tue, 27 Jan 1998 12:43:30 -0800 (PST) From: Doug White Reply-To: Doug White To: Henry Tieman cc: freebsd-questions@FreeBSD.ORG Subject: Re: malloc fail In-Reply-To: <199801232015.MAA05495@hood.pcx.ncd.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk On Fri, 23 Jan 1998, Henry Tieman wrote: > i get malloc fails inside script files. i don't have > the scripts handy here but would like some clues anyway. > > i have a set of scripts using netpbm, to do a series of > graphic file conversions. after upgrading from FreeBSD > 2.2.2 to 2.2.5 these scripts fail - conversions don't > work always - but sometimes do. small files always work, > large files fail 2/3 of the time. > > i have 'ulimit' in the sh script. > > yes, i have changed MAXDSIZ from 128meg to 512 > meg, but the gif files in question are all > smaller than .5meg. > > yes, i have recompiled the netpbm tools. Hm, you might run top in another window while netpbm is running and make sure it isn't ballooning out of control. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major