There are also some additional restrictions that prevent processes from utilizing as much memory as the architecture supports.
First of all, the default class in /etc/login.conf sets some restrictions on the size of the data and stack regions for a process.
Further more hard coded VM restrictions are defined in /usr/src/sys/arch/`uname -m`/include/vmparam.h
MAXDSIZ is around 8GB on amd64, but it's only around 1GB on i386.
MAXSSIZ seems to be around 32MB on both amd64 and i386.
Being aware of these limitations is important, changing them would require modifying the kernel.. which would leave you with an unsupported system.
|