[Python-Dev] Mac OSX issues

Greg Ewing greg@cosc.canterbury.ac.nz
Tue, 03 Dec 2002 12:04:02 +1300 (NZDT)


Guido:

> Do you know if setting the stack limit actually allocates that much
> memory for the stack in the process in Mac OSX, or does it only
> reserve VM space (like on traditional Unix)?

Strictly speaking, in traditional Unix it doesn't do either,
it just sets a limit on how big the stack can grow. Actually
allocating stack pages is done on demand.

I expect this is what MacOSX does.

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg@cosc.canterbury.ac.nz	   +--------------------------------------+