From owner-freebsd-questions@FreeBSD.ORG Tue Mar 1 12:47:24 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2901D16A4CE for ; Tue, 1 Mar 2005 12:47:24 +0000 (GMT) Received: from foo-bar.inter-sonic.com (foo-bar.inter-sonic.com [212.247.8.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id 878FF43D46 for ; Tue, 1 Mar 2005 12:47:23 +0000 (GMT) (envelope-from peo@intersonic.se) Received: from [192.168.1.5] (grateful.i.inter-sonic.com [192.168.1.5]) by foo-bar.inter-sonic.com (Postfix) with ESMTP id DF855A6C39 for ; Tue, 1 Mar 2005 13:47:19 +0100 (CET) Message-ID: <42246457.70200@intersonic.se> Date: Tue, 01 Mar 2005 13:47:19 +0100 From: Per olof Ljungmark User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "'freebsd-questions@freebsd.org'" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Perl out of memory [sbrk()] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2005 12:47:24 -0000 I'm running imapsync that also uses p5-Mail-IMAPClient-2.2.9 to transfer mailboxes between imap servers. The following error occurs when a message has an attachment of more that approx 35MB in size: "Out of memory during "large" request for 67112960 bytes, total sbrk() is 487512064 bytes at /usr/local/bin/imapsync line 790." Running 5.3-STABLE a week or so old Perl 5.8.6 from ports. What bothers me especially is that this error will not occur when I run the same command from a old RH Linux (7.2) box. Appriciate comments and/or hints. Thanks,