From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076330121077.tru64-unix-managers.marc@archive.invalid> From: "Anil Khullar, Computer Center" Date: Fri, 01 Mar 1996 08:25:24 +0000 To: tru64-unix-managers Subject: SUMMARY: Questions about allocating all available memory to a program X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076330121077 Hi, Thanks to all you folks for promptly giving me various solutions. alan@nabeth.cxo.dec.com ohad@comport1.comport.com sherwood@esu.edu pobrien@draco.harvard.edu mdegerness@galaxy.gov.bc.ca ta.chung@syncrude.com szgyula@skysrv.pha.jhu.edu Actually there were three ways to lick the problem. 1. Use the kernel param dfldsiz to a larger value and rebuild the kernel (default was 128M) 2. Use the builtin limit param in C-shell like user environ, e.g limit datasize 400M or limit datasize 4096000000 3. Use sysconfig to modify per proc data size in a stanza file e.g. proc: max-per-proc-data-size=your_new_value max-per-proc-address-space=your_new_value max-per-proc-stack-size=your_new_value sysconfigdb -a -f your_stanza_file proc What I finally did was use the C-shell limit command. The suggestion of modifying the dfldsiz in the kernel was good for individual workstations, where one or max two persons use the machine. In our case, I felt that a server where there could be a case when more that one person needed to run a large job simultaneously, tweaking the kernel param was note good idea. The third solution, I am going to test on a spare Alpha box later in the week. Once again, Thanks folks for the prompt reply. anil ;-------------Original Question----------------------- Hi, I have a user who is using SAS under DU3.2b on an ALPHA2100 with 2CPU and 512M of memory. This person wants to allocate approx 400M of memory and gets an error indicating only 112M of workspace could be only be allocated. According to SAS the program will be able to use whatever amount of memory and other resources it gets. There is hardly an activity going on when the user on the machine. Is there a way to up the amount of memory a person can use ? There is ample swap space. The relevant information in the /sys/conf/MACHINENAME is as follows: dfldsiz 134217728 maxdsiz 1073741824 dflsiz 2097152 maxssiz 33554432 maxusers 32 mapentries 800 Any help, suggestions Anil Khullar Graduate School and University Center CUNY, New York NY 10036 PS: The actual SAS command and the error is appended too ;---------------------- NOTE: AUTOEXEC processing beginning; file is /usr/local/sas610/autoexec.sas. NOTE: SAS initialization used: real time 0.21 seconds cpu time 0.21 seconds NOTE: AUTOEXEC processing completed. 1? proc iml worksize=400000000; NOTE: Assuming that the number is given in bytes and not kilobytes. NOTE: Could allocate only 112000000 bytes of work space, 400000000 bytes requested. Worksize = 112000000 Symbol size = 131056 IML Ready 2? endsas; Exiting IML. NOTE: PROCEDURE IML used: