Hi,
Compilation of a C program (automatic. generated, source size = 310kB)
ends with following error message:
> cc: Fatal: Virtual memory limit or system swap space exhausted.
> Try reducing program size or system load, or increase swap space
> (see swapon(8)), adjust system config file entries maxdsiz and maxvas.
The platform is :
Alpha Personal Workstation, Digital Unix 4.0C,
installed patch ECO kit: DUV40CAS00002-19970819
The same program compiles without problem on one of our
Digital UNIX V3.2C workstations, although this workstation
has much less swap space.
(swapon -s:
3.2C machine:
Allocated space: 32768 pages (256MB)
Available space: 30810 pages ( 94%)
4.0C machine:
Allocated space: 123578 pages (965MB)
Available space: 116572 pages ( 94%)
)
Of course I have checked the archive lists first, and indeed found a
similar problem (Summary on c compiler space problem, Fri, 20 Sep 1996),
which has been solved by modifying following sysconfigdb:
vm-maxvas = 2147483648
vm-maxwire = 268435456
vm-vpagemax = 2147483648
I've done this, but the problem remains. The above cc error message
suggests to also adjust maxdsiz. However I have not found a reference
to maxdsiz in both man pages and documentation.
I cannot imagine that 1GB swap space is insufficient to compile
a program. Does anyone have an idea ?
Thanks.
Horst Wagner
Received on Wed Jan 21 1998 - 14:44:27 NZDT