On Mono port

Joerg Sonnenberger joerg at britannica.bec.de
Sat Jan 29 05:45:58 PST 2005


On Sat, Jan 29, 2005 at 01:32:29AM -0800, Matthew Dillon wrote:
>     I would tend towards using a 1MB or 2MB default threading stack size...
>     whatever Linux is using.  The sad fact of the matter is that programmers
>     don't pay much attention to stack size any more, even when writing
>     threaded applications, so the default has to change along with the times.

For single threaded applications, the stack size is a non-issue. But for
multithreaded programs, you have to map the stack address space in advance,
using 1MB by default can eat the Virtual Address Space in no time.

Joerg

> 
> 					-Matt
> 					Matthew Dillon 
> 					<dillon at xxxxxxxxxxxxx>





More information about the Users mailing list