Background
In last post, we discussed how to enable PAE functionality on a FreeBSD machine. But some people may also concern the memory usage limitation of single process.
By default, every process can only allocate 512 MB memory for data size, which is defined as MAXDSIZ in kernel configuration file. To break the barrier, simply set a variable in /boot/loader.conf
kern.maxdsiz="2048M"
or adjust the value of MAXDSIZ in kernel configuration file for static setting:
options MAXDSIZ=(2048UL*1024*1024)
But if you set the value too high without further consideration, it might be the beginning of disaster…
閱讀全文 Troubleshooting for PAE under FreeBSD