From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,820f787511078c56 X-Google-Attributes: gidfee84,public From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Subject: Re: swap/malloc problem Date: 1996/06/10 Message-ID: <4pi2q5$gif@nntpd.lkg.dec.com>#1/1 X-Deja-AN: 159494562 distribution: world references: <4p9kis$6sg@netnews.upenn.edu> organization: Digital Equipment Corporation reply-to: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) newsgroups: comp.unix.osf.osf1 In article <4p9kis$6sg@netnews.upenn.edu>, ggrevera@gradin.cis.upenn.edu (George Grevera) writes: >Hi. I seem to have tons of swap space but can't malloc a measly >135M. The particulars are 96M of physical memory on a DEC 3000 >running OSF1 V3.0. I don't have a /sbin/swapdefault file. > > [ swapon -s and sample program deleted ] > >I can't understand why this fails. Thanks for your help. There are a variety of per-process and system parameters that limit the amount of virtual memory a process can have. Some shells implement a per-process limits, but such shell typically offer built-in commands to control the limits. The C-shell for example has the limit built-in command. There are system wide per-process limit. Once upon a time these were controlled by the parameters maxssiz, maxdsiz and maxtsiz in the configuration. I haven't paid close enough attention, but these may haved move to sysconfigtab and are thus easier to change. There is also probably a system wide virtual memory limit. How to raise these (and the per-process default) should be documented in the system management documentation. >George >ggrevera@gradient.cis.upenn.edu > -- Alan Rollow alan@nabeth.cxo.dec.com