From owner-freebsd-questions@FreeBSD.ORG Thu May 24 17:02:16 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 81EF316A46B for ; Thu, 24 May 2007 17:02:16 +0000 (UTC) (envelope-from m0rchand@comcast.net) Received: from rwcrmhc15.comcast.net (rwcrmhc15.comcast.net [216.148.227.155]) by mx1.freebsd.org (Postfix) with ESMTP id 708AA13C448 for ; Thu, 24 May 2007 17:02:16 +0000 (UTC) (envelope-from m0rchand@comcast.net) Received: from rmailcenter03.comcast.net ([204.127.197.113]) by comcast.net (rwcrmhc15) with SMTP id <20070524170216m1500o776qe>; Thu, 24 May 2007 17:02:16 +0000 Received: from [157.174.221.254] by rmailcenter03.comcast.net; Thu, 24 May 2007 17:02:15 +0000 From: m0rchand@comcast.net (Tom Marchand) To: freebsd-questions@freebsd.org Date: Thu, 24 May 2007 17:02:15 +0000 Message-Id: <052420071702.20277.4655C5170002F9D000004F3522007456720B020E080C9DCF03@comcast.net> X-Mailer: AT&T Message Center Version 1 (Oct 4 2006) X-Authenticated-Sender: bTByY2hhbmRAY29tY2FzdC5uZXQ= Subject: Re: Out of memory during request X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 May 2007 17:02:16 -0000 I've experienced this same type of problem while using grep to search large binary files. -------------- Original message ---------------------- From: Bill Moran > In response to "Janos Dohanics" : > > > > > I'm using imapsync to transfer maildirs to a new server. One of the > > mailboxes is about 4.7 GB. While into the syncing to about 3 GB, > > imapsync quits with this message: > > > > > > while processing LITERAL > > Read: * 5330 FETCH (UID 5337 BODY[] ) > > 12835 OK Fetch completed. > > > > Out of memory during request for 80 bytes, total sbrk() is 536813568 > > bytes! > > > > I'm running imapsync on the target system, which is FreeBSD 6.2-STABLE > > with 1 GB RAM. > > > > I'm wondering if I could adjust some resource settings to let the > > imapsync job finish? > > Check the output from ulimit -a: > ... > data seg size (kbytes, -d) 524288 > ... > > I'm pretty sure that limits the maximum amount of RAM a single process > can allocate, and it seems to match up with your error. (That's the > default value) > > ulimit -d 1000000000 should fix it. > > Odd program that allocates all that memory ... > > -- > Bill Moran > http://www.potentialtech.com > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"