From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 14:54:09 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 5721516A46D for ; Mon, 9 Jul 2007 14:54:09 +0000 (UTC) (envelope-from sgmayo@mail.bloomfield.k12.mo.us) Received: from mail.bloomfield.k12.mo.us (mail.bloomfield.k12.mo.us [204.184.27.92]) by mx1.freebsd.org (Postfix) with ESMTP id 3385613C48A for ; Mon, 9 Jul 2007 14:54:08 +0000 (UTC) (envelope-from sgmayo@mail.bloomfield.k12.mo.us) Received: from [10.0.0.200] (unknown [204.184.27.217]) by mail.bloomfield.k12.mo.us (Postfix) with ESMTP id B4361268807 for ; Mon, 9 Jul 2007 09:54:08 -0500 (CDT) Message-ID: <46924C10.8030909@mail.bloomfield.k12.mo.us> Date: Mon, 09 Jul 2007 09:54:08 -0500 From: Scott Mayo Organization: Bloomfield Schools User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4692453B.3000400@mail.bloomfield.k12.mo.us> In-Reply-To: <4692453B.3000400@mail.bloomfield.k12.mo.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Out of memory error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: sgmayo@mail.bloomfield.k12.mo.us List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2007 14:54:09 -0000 Scott Mayo wrote: > I am running imapsync and keep getting the error: > > "Out of memory during "large" request for 67112960 bytes, total sbrk() > is 495640576 bytes at /usr/local/bin/imapsync line 1050." > > When trying to copy a mailbox that has some large attachements. > > I found on the internet that I needed to set kern.maxdsiz="1024M" in my > /boot/loader.conf to fix this problem, but when I do that then my system > hangs when trying to mount the drive. > > Does anyone have any ideas of how to fix this memory problem? > > Thanks. > I guess that the KB option cannot be added to the end to specify Kilobytes. I thought it could. I put kern.maxdsiz="1000000000" and that took care of the problem. Thanks. -- Scott Mayo System Administrator Bloomfield Schools Duct tape is like the force, it has a light side and a dark side and it holds the universe together.