I'm compiling a very large C++ file on IRIX 5.3XFS and running into a memory limit that seems artificial. I have 224MB of RAM, my environment limits have been removed, and I have plenty of real and virtual swap but IRIX doesn't want to malloc more than ~140MB of memory. Absolutely nothing else is running, not even the window system; top/osview say that I should have a good 200MB of physical memory available before hitting swap. Does anyone know what is going on here?
Code:
(violets:local/src/cmake-2.8.12.2) # swap -l
lswap path dev pri swaplo blocks free maxswap vswap
2 /.swap.virtual
128,16 2 0 0 0 0 20000000
1 /dev/swap
128,17 0 0 1028160 1028160 1028160 0
(violets:local/src/cmake-2.8.12.2) # limit
cputime unlimited
filesize 4194303 kbytes
datasize unlimited
stacksize unlimited
coredumpsize unlimited
memoryuse unlimited
vmemoryuse unlimited
descriptors unlimited
(violets:local/src/cmake-2.8.12.2) # hinv -v
1 100 MHZ IP20 Processor
FPU: MIPS R4000 Floating Point Coprocessor Revision: 0.0
CPU: MIPS R4000 Processor Chip Revision: 3.0
On-board serial ports: 2
On-board bi-directional parallel port
Data cache size: 8 Kbytes
Instruction cache size: 8 Kbytes
Secondary unified instruction/data cache size: 1 Mbyte
Main memory size: 224 Mbytes
Integral Ethernet: ec0, version 1
Integral SCSI controller 0: Version WD33C93B, revision C
CDROM: unit 4 on SCSI controller 0
Disk drive: unit 1 on SCSI controller 0
Iris Audio Processor: revision 10
Graphics board: GR2-XS24 with Z-buffer
(violets:local/src/cmake-2.8.12.2) # /usr/local/gcc3/bin/g++ -O3 -mips2 -mtune=r4000 -fpermissive -I/usr/local/src/cmake-2.8.12.2/Bootstrap.cmk -I/usr/local/src/cmake-2.8.12.2/Source -I/usr/local/src/cmake-2.8.12.2/Bootstrap.cmk -c /usr/local/src/cmake-2.8.12.2/Source/cmBootstrapCommands2.cxx -o cmBootstrapCommands2.o
cc1plus: out of memory allocating 4072 bytes after a total of 140586928 bytes