From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,c4a467c81f8ec69f,start X-Google-Attributes: gid1164f8,public From: NOSPAMkowarschik@informatik.uni-erlangen.de (Markus Kowarschik) Subject: Modification of data segment size? Date: 1999/03/19 Message-ID: <7cu6h6$i4g$2@rznews.rrze.uni-erlangen.de>#1/1 X-Deja-AN: 456600821 Sender: markus@fauia11.informatik.uni-erlangen.de Organization: Regionales Rechenzentrum Erlangen, Germany Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: comp.sys.dec I have a problem concerning the "ulimit" command. I am using a Digital PWS 500au with 768 MB of main memory running under Digital Unix 4.0D. My program allocates *less than* 655360 KB (= 640 MB) of memory in the data segment of the process. Nevertheless, the following error occurs: ------------------------------------- bash# ulimit -d 655360 bash# ulimit -a core file size (blocks) unlimited data seg size (kbytes) 655360 file size (blocks) unlimited max memory size (kbytes) 763608 stack size (kbytes) 2048 cpu time (seconds) unlimited pipe size (512 bytes) 8 open files 4096 virtual memory (kbytes) 1048576 bash# echo 0 | ./myprog 984:./mg: /sbin/loader: Fatal Error: Program datasize exceeds process datasize limit. ------------------------------------- Does anybody know what the problem is? Thanks, Markus -- Markus Kowarschik Computer Science Department, University of Erlangen, Germany E-mail: NOSPAMkowarschik@informatik.uni-erlangen.de Phone: (+49 9131) 85-28925, Fax: (+49 9131) 85-28928