Subject: Re: Virtual Memory exhaustion errors during compiles on current (ZA)
To: Emiel Kollof <coolvibe@hackerheaven.org>
From: Chuck Silvers <chuq@chuq.com>
List: current-users
Date: 03/08/2002 17:17:58
try increasing your "datasize" limit with csh's "limit" or sh's "ulimit"
commands.
-Chuck
On Fri, Mar 08, 2002 at 06:55:07PM +0100, Emiel Kollof wrote:
> Hey people,
>
> Not sure if it's the right list for this, but kdebase2 fails to build on
> current due to a dependancy app that won't compile. The port in question is
> qt2-designer-kde and it fails here:
>
> c++ -c -I/home/netbsd/pkgsrc/x11/qt2-designer-kde/work/.buildlink/qt2/include -
> I/home/netbsd/pkgsrc/x11/qt2-designer-kde/work/.buildlink/include -I/home/netbsd
> /pkgsrc/x11/qt2-designer-kde/work/.buildlink/include -O2 -I/usr/pkg/share/x11-li
> nks/include -DDESIGNER -DHAVE_KDE -I../shared -I../util -I/home/netbsd/pkgsrc/x1
> 1/qt2-designer-kde/work/.buildlink/include -o mainwindow.o mainwindow.cpp
> mainwindow.cpp: In method `void MainWindow::writeConfig()':
> mainwindow.cpp:2696: virtual memory exhausted
> gmake[5]: *** [mainwindow.o] Error 1
>
> I tried adding more swap (in a swap file) until I had more than 500 MB (which
> is actually MORE than enough, since my sparcstation 10 only has 96 MB)
>
> What could be the problem here? And more importantly: how do I solve it?
>
> FYI:
>
> uname:
> NetBSD bartleby 1.5ZA NetBSD 1.5ZA (BARTLEBY) #5: Wed Mar 6 08:45:28 UTC 2002 root@bartleby:/home/netbsd/src/sys/arch/sparc/compile/BARTLEBY sparc
>
> swapctl -l:
> Device 1K-blocks Used Avail Capacity Priority
> swaptmp2 197568 708 196860 0% 0
> /dev/sd0b 197568 12500 185068 6% 0
> swaptmp 197568 7584 189984 4% 0
> Total 592704 20792 571912 4%
>
> bash-2.05# dmesg | grep mem
> total memory = 97512 KB
> avail memory = 86792 KB
>
> Cheers,
> Emiel
> --
> Take heart amid the deepening gloom that your dog is finally getting
> enough cheese
> -- National Lampoon, "Deteriorata"