FreeBSD 5.2: malloc(): error: allocation failed

Christian B. at
Mon Jan 26 23:30:21 PST 2004

> From: Dag-Erling Smørgrav [mailto:des at] 
> > mysqld in malloc(): error: allocation failed
> mysqld ran out of address space.  the default limit is 512 
> MB.  you can increase it by adding e.g. 
> kern.maxdsiz="1073741824" (1 GB) to /boot/loader.conf, or 
> with the MAXDSIZ kernel option.
> (for some reason, kern.maxdsiz doesn't show up in the sysctl 
> tree, but setting it in loader.conf will work)

Thanks for your answer. The adding to /boot/loader.conf namely doesn't had
worked, but the setting MAXDSIZ in the kernel work properly.

Is this value for MAXDSIZ reduced from 5.1 to 5.2?

Best regards,

More information about the freebsd-current mailing list