Re: help with huge memory consumption??
- From: Robert Redelmeier <redelm@xxxxxxxxxxxxxxx>
- Date: Fri, 02 Mar 2007 13:29:44 GMT
Bin Chen <binary.chen@xxxxxxxxx> wrote in part:
A libc guy tell me the cause. It is stack. For default stack
size is 8MB for each thread. He said there is some method
to decrease the default stack size but I don't know how to.
`man setrlimit`
8 MB isn't unreasonable. Most of it will be shared.
But it _is_ mapping 2,000 pages, each of which takes at least
4 bytes in the kernel, so the kernel will need at least 8 KB
per process just for the stack (and probably much more).
-- Robert
.
- Follow-Ups:
- Re: help with huge memory consumption??
- From: Rainer Weikusat
- Re: help with huge memory consumption??
- References:
- help with huge memory consumption??
- From: Dan Miller
- Re: help with huge memory consumption??
- From: Bin Chen
- Re: help with huge memory consumption??
- From: Dan Miller
- Re: help with huge memory consumption??
- From: Bin Chen
- Re: help with huge memory consumption??
- From: Robert Redelmeier
- Re: help with huge memory consumption??
- From: Bin Chen
- help with huge memory consumption??
- Prev by Date: Re: Porting linux 2.4 on a new arm platform
- Next by Date: Re: help with huge memory consumption??
- Previous by thread: Re: help with huge memory consumption??
- Next by thread: Re: help with huge memory consumption??
- Index(es):
Relevant Pages
|
Loading