Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Mar 2005 15:24:48 +0100
From:      Per olof Ljungmark <peo@intersonic.se>
To:        Dan Nelson <dnelson@allantgroup.com>
Cc:        "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org>
Subject:   Re: Perl out of memory [sbrk()]
Message-ID:  <4225CCB0.6090103@intersonic.se>
In-Reply-To: <20050301180845.GQ8778@dan.emsphone.com>
References:  <42246457.70200@intersonic.se> <20050301180845.GQ8778@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Dan Nelson wrote:
>>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."
> 
> According to that output, perl was already using 464MB, and a malloc
> request for 64MB failed, which is reasonable since the default hard
> datasize limit on FreeBSD is 512MB.  To raise it, put this in
> /boot/loader.conf and reboot:
> 
> kern.maxdsiz="1024M"

That would be the cause yes, although I have to wait until the right 
moment to restart this box. Thank you for pointing this out.

Per olof



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4225CCB0.6090103>