From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079067215956.tru64-unix-managers.marc@archive.invalid> From: "Dr. Otto Titze, Kernphysik TUD, +49 6151 162916" Date: Fri, 13 Aug 1999 08:36:23 +0000 To: tru64-unix-managers Subject: SUMMARY: Follup - out of memory X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079067215956 Hi everybody, thanks to all who responded Donald Bovee Hamblet, Robin" Erik Piip Lisa Kim Michael Gasperi Mayfield, Rob" Concerning my last question from the different hints and experiences it looks now to me - data segment size Obviously this can be increased over the main memory size up to memory + swap space (in some cases even above the physical size?) (I was somewhat confused because "ulimit -d unlimited" set it to the main memory size. Therefore - as an primary VMS user - this was suspect to me (like many things in Unix). - even the stack space can obviously go over the whole memory (Can't imagine what consequences this may have in Unix if everything is unlimited. This is much clearer for me in VMS.) - simplest way to change this sizes permanently is obviously if one is adding those at the end of /etc/sysconfigtab proc: per-proc-data-size=1073741824 etc. and reboot - Changing at run-time (/sbin/sysconfig -r proc per-proc-data-size=1073741824) is obviously not possible. (not dynamic parameter) Now the situation is improved. But I still find some interesting things which I don't understand and will put in a another followup. Thanks and regards Otto Original Question > >by increasing the data segment size to unlimited I get 1048576 kbytes >now as limit (approx. the size of the memory of my system(512MB). >Which is not enough in certain cases. > >Because the swap space is 1,5GB - is it reasonable to increase this >size further on or can these areas not be swapped? >If it can be swapped - there could another problem arise. The application >(Matlab) needs contiguous memory. If it calls for contiguous memory >could this be considered as such if it needs swap space? > Some interesting experiences with Matlab: Donald Bovee Matlab stores variables on the stack, so try increasing the stacksize parameter. Matlab never deletes anything during a session so if your researcher uses one large data file after another assigning a different array name to each, the effect is cumulative. Use the 'clear' command to get rid of old arrays and make space available. Erik Piip We have an 8400 (8 440mhz CPUs, 2 Gig memory) that is being tortured by matlab users. We ended up added two 10,000RPM 9 gig disks as swap. This plus the changes you had helped a lot!!!! >From the top enclosed, you can see they have used 3 Gig of the swap right now. I've seen it up to about 9 Gig of swap used..... These matlab uses always want more ;-) Time for 8X EV6 CPUs!! (The top showed 6 matlab users with 99% cpu usage)