From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fa528,d09c02efb513a6ca,start X-Google-Attributes: gidfa528,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!inka.de!rz.uni-karlsruhe.de!news.urz.uni-heidelberg.de!not-for-mail From: Dennis Grevenstein Newsgroups: comp.unix.tru64 Subject: 4.0f and swap / virtual memory Date: 20 May 2007 11:22:16 GMT Organization: University of Heidelberg, Germany Message-ID: NNTP-Posting-Host: aixterm8.urz.uni-heidelberg.de X-Trace: news.urz.uni-heidelberg.de 1179660136 22321 129.206.119.48 (20 May 2007 11:22:16 GMT) X-Complaints-To: usenet@news.urz.uni-heidelberg.de NNTP-Posting-Date: 20 May 2007 11:22:16 GMT User-Agent: tin/1.9.2-20070201 ("Dalaruan") (UNIX) (Linux/2.6.20.4 (ia64)) Xref: g2news1.google.com comp.unix.tru64:988 Hi, I've got a problem compiling gcc-3.4.6 on Tru64 4.0F. The build fails with: stage2/xgcc -Bstage2/ -B/usr/local/alpha-dec-osf4.0f/bin/ -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition -DHAVE_CONFIG_H -I. -I. -I. -I./. -I./../include reload.c -o reload.o virtual memory exhausted: Not enough space I thought it would have been obvious what's going on, but now, I'm out of ideas. This is an Alphaserver 2100 with 512MB RAM and 512MB of swap. At first, I switched from greedy swapping mode to lazy swapping mode by deleting /sbin/swapdefault, but this didn't help. I checked the memory usage with top and swapon -s. top shows that the compiler takes maybe 50 to 100MB until it fails. Both, top and swapon show that there is actually no swap used at all: Total swap allocation: Allocated space: 65536 pages (512MB) In-use space: 1 pages ( 0%) Available space: 65535 pages ( 99%) I recently built this gcc release on another machine which only had 256MB of RAM and 512MB swap in default swapping mode and it worked fine. A lazy solution would be to compile this file without optimization, but I would really like to know what's wrong here. thanks in advance. gruss, Dennis P.S. Anybody here who has CPUs and a power supply for an AS2100 for sale? -- Don't suffer from insanity... Enjoy every minute of it.