From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078731112032.tru64-unix-managers.marc@archive.invalid> From: A.Moar () latrobe ! edu ! au Date: Thu, 17 Dec 1998 03:25:33 +0000 To: tru64-unix-managers Subject: SUMMARY: Problem with program using more than 1gig of memory X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078731112032 Hi all, I posted a message regarding a program failing with a "/sbin/loader : cannot map Main" error message when compiled to run with more the 1gig of virtual memory. Thanks to Kevin Partin, Alan Rollow, Wesley Darlington and Randy Cable for their responses. The program seems to work now, although I'm not exactly sure what fixed it. The machine was taken down yesterday and some disks and things moved around by an engineer after the arrival of a second 8400 (the reason they were delivered more than 2 months apart is another story). To get the machine to reboot I had to boot the generic kernel. I also double-checked my sysconfigtab parameters and realised I hadn't added things like per-proc-stack-size, only max-per-proc-stack-size (but I thought this restriction could be raised to max-per-proc-stack-size by using the ulimit shell command?). It was also mentioned to me that I should check how much swap I had and the mode I was using (lazy - no /sbin/swapdefault - was suggested). According to the /etc/fstab, I should've had around 6gig of swap, but I was in "eager" mode. Although it should've been enough, I changed to "lazy" anyway. So I guess any of the above 3 changes could've fixed the problem. My gut feeling is that it was the addition of the max-* parameters in sysconfigtab that fixed it. Thanks once again to those who responded. Andrew -- Andrew Moar : Ph +61 3 9479 1505 email A.Moar@latrobe.edu.au Unix Environment Manager, Information Technology Services La Trobe University, Melbourne