View Single Post
  #3   (View Single Post)  
Old 19th May 2009
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

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.
Reply With Quote