Subject: Re: Virtual Memory exhaustion errors during compiles on current (ZA)
To: None <current-users@netbsd.org>
From: Matthias Scheler <tron@zhadum.de>
List: current-users
Date: 03/14/2002 14:02:30
Emiel Kollof <coolvibe@hackerheaven.org> wrote:
> Not sure if it's the right list for this, ...

"tech-pkg@netbsd.org" would be better but the correct tool for reporting
bugs is "send-pr" (see "man send-pr").

> 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

Use "unlimit datasize" (csh/tcsh) or "ulimit -d `ulimit -d -H`" (sh/bash/zsh)
to increase the allowed datasize per process.

I've committed a fix to "pkgsrc" which will make this unnecessary which
will make this unnecessary.

	Kind regards

-- 
Matthias Scheler                                  http://scheler.de/~matthias/