Subject: Re: "virtual memory exhausted" errors?
To: Johnny C. Lam <lamj@stat.cmu.edu>
From: Oleg Polianski <Oleg.Polianski@clear.co.nz>
List: tech-pkg
Date: 08/02/2001 10:22:56
"Johnny C. Lam" <lamj@stat.cmu.edu> writes:

 Turn the optimization option off when compiling this file or add plenty of
 swap space. 

> On a Quadra 650 (68040) with 48MB RAM with plenty of swap space
> running NetBSD-1.5.1/mac68k, I get the following when compile
> graphics/imlib from today's pkgsrc:
> 
> cc -DHAVE_CONFIG_H -I. -I. -I.. -I..  -I../gdk_imlib
> 	-I/usr/pkgsrc/graphics/imlib/work/.buildlink/include/gtk-1.2
> 	-I/usr/pkgsrc/graphics/imlib/work/.buildlink/include/glib/glib-1.2
> 	-I/usr/pkgsrc/graphics/imlib/work/.buildlink/lib/glib/include
> 	-I/usr/X11R6/include
> 	-I/usr/pkgsrc/graphics/imlib/work/.buildlink/include -DENABLE_NLS
> 	-DENABLE_NLS
> 	-I/usr/pkgsrc/graphics/imlib/work/.buildlink/include/gtk-1.2
> 	-I/usr/pkgsrc/graphics/imlib/work/.buildlink/include/glib/glib-1.2
> 	-I/usr/pkgsrc/graphics/imlib/work/.buildlink/lib/glib/include
> 	-I/usr/X11R6/include
> 	-I/usr/pkgsrc/graphics/imlib/work/.buildlink/include -O2 -c
> 	testimg.c
> testimg.c:16656: virtual memory exhausted
> 
> How does one resolve a problem like this?
> 
> 	Thanks,
> 
>      -- Johnny C. Lam <lamj@stat.cmu.edu>
>         Department of Statistics, Carnegie Mellon University
>         http://www.stat.cmu.edu/~lamj/

-- 
        -- Oleg Polianski <Oleg.Polianski@clear.co.nz>