Out of memory during "large" request

Per olof Ljungmark peo at intersonic.se
Wed Mar 8 22:14:43 UTC 2006


Lowell Gilbert wrote:
> Per olof Ljungmark <peo at intersonic.se> writes:
> 
>> FreeBSD 6-STABLE
>>
>> Got this when I ran a Perl script:
>> Out of memory during "large" request for 33558528 bytes
>>
>> Would this be good syntax in /boot/loader.conf, the system has 2G RAM:
>> vm.kmem_size_max=671088640
>> to try to cure the problem? Where do I best learn more about memory tuning?
> 
> Are you sure you're not just running into process limits, as opposed
> to kernel limits?

Honestly, no. But on a 5.4 system I did cure the same problem with the 
line "kern.maxdsiz="768M"" in loader.conf and I thought "vm.kmem_size" 
would be the corresponding parameter in 6?


More information about the freebsd-questions mailing list