From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,343621ddae6b5135 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-05-16 05:26:01 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!paloalto-snf1.gtei.net!news.gtei.net!news.compaq.com!cacnews.cac.cpqcorp.net!53ab2750!not-for-mail Newsgroups: comp.unix.tru64 Subject: Re: memory limit on Tru64? References: From: duane@hunch.zk3.dec.com (Andrew Duane USG) Message-ID: <9DNE8.17$yt3.391282@cacnews.cac.cpqcorp.net> Date: Thu, 16 May 2002 12:29:57 GMT NNTP-Posting-Host: 16.141.0.43 X-Complaints-To: abuse@Compaq.com X-Trace: cacnews.cac.cpqcorp.net 1021552197 16.141.0.43 (Thu, 16 May 2002 05:29:57 PDT) NNTP-Posting-Date: Thu, 16 May 2002 05:29:57 PDT Organization: Hewlett-Packard Co. Xref: archiver1.google.com comp.unix.tru64:7685 In article "Ja" writes: >I recently installed Tru64 5.1A on my DS20E, on testing some benchmark >programs (and my own code) I found that the OS is limiting my programs to a >128MB memory space, anything bigger will just get a core dump. My system has >2GB RAM, and I had no such problem when running Linux. > >I think it's just a matter of setting something somewhere, but where? I'm >new to Tru64, so any advice would be greatly appreciated. You don't say exactly what you mean by "12MB memory space".... Data size? Malloc'able space? Program text size? Anyway, the place to start is: 8:20am > limit cputime unlimited filesize unlimited datasize 1310720 kbytes stacksize 8192 kbytes coredumpsize unlimited memoryuse 484264 kbytes descriptors 4096 The datasize here is set to 1280MB, 10 times what you indicate. The other thing to look at is: 8:20am > sysconfig -q proc proc: max_proc_per_user = 256 max_threads_per_user = 1024 per_proc_stack_size = 8388608 max_per_proc_stack_size = 33554432 per_proc_data_size = 1342177280 max_per_proc_data_size = 1073741824 max_per_proc_address_space = 4294967296 per_proc_address_space = 4294967296 ... These can be tuned pretty easily. Look at "man sys_attrs_proc" to find out how and what they do. -- Andrew L. Duane (JOT-7) duane@zk3.dec.com HP/Compaq Corporation Andrew.Duane@compaq.com 110 Spit Brook Road Andrew.Duane@hp.com M/S ZKO3-3/U14 Nashua, NH 03062-2698 (603)-884-1294