Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!virtech!cpcahil From: cpcahil@virtech.uucp (Conor P. Cahill) Newsgroups: comp.unix.questions Subject: Re: memory/swap Message-ID: <1991Jun07.125526.6653@virtech.uucp> Date: 7 Jun 91 12:55:26 GMT References: <1991Jun6.215038.20384@nntp-server.caltech.edu> Organization: Virtual Technologies Inc. Lines: 14 gwoho@nntp-server.caltech.edu (g liu) writes: >a program like: for (;;) if (malloc(1000))puts("a"); >seems to me only to be able to allocate about 6m on this 8m 386 >sysv at&t unix machine. there must be about 24m of swap. >why is this? This is because the maximum program size is set to 6MB. The tunable parameter MAXUMEM specifies how many 4K pages a programs virtual space is allowed to take up. -- Conor P. Cahill (703)430-9247 Virtual Technologies, Inc. uunet!virtech!cpcahil 46030 Manekin Plaza, Suite 160 Sterling, VA 22170