*BSD News Article 53087


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yarrina.connect.com.au!classic.iinet.com.au!swing.iinet.net.au!news.uoregon.edu!usenet.eel.ufl.edu!newsfeed.internetmci.com!netnews.nwnet.net!news.uidaho.edu!usenet
From: Faried Nawaz <fn@uidaho.edu>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: XF86_SVGA eats 9Mb ?
Date: 21 Oct 1995 20:34:43 -0700
Organization: polynomial cows.
Lines: 33
Sender: nawaz921@crater.cs.uidaho.edu
Distribution: world
Message-ID: <imag6uqjho.fsf@crater.cs.uidaho.edu>
References: <DGJqKz.2KI@cr-df.rnp.br> <463tmb$d6s@agate.berkeley.edu>
Reply-To: fn@uidaho.edu
NNTP-Posting-Host: crater.cs.uidaho.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
In-reply-to: tmonroe@soda.CSUA.Berkeley.EDU's message of 18 Oct 1995 22:04:59
	GMT
X-Newsreader: (ding) Gnus v0.99.13

In article <463tmb$d6s@agate.berkeley.edu> tmonroe@soda.CSUA.Berkeley.EDU (Anthony Monroe) writes:

$ >My 32Mb EISA system is running out of memory. Doesn't seem normal, look at the
$ >big (9Mb) XF86_SVGA process. My home system with only 16Mb runs ligther.
$ >If I call a couple more apps it begins swapping (actually, it begins when top
$ >shows 23M of Act Memory -> where is the rest to 32M), and if I close apps I
$ >don't get the memory back. 
$ >Any ideas ?
$ 
$ Not really.  When this happened to me (on my 8 meg system) I noticed that my
$ X server had grown to 18 megs.  Hmm.  So more than half of it was living in 
$ swap at any given time.  Almost all of it, I would imagine, given that I was
$ running netscape and mule (I think) at the time, in addition to the usual
$ gobs of xterms...
$ 
$ Needless to say, I had to kill the X server for performance to improve...and
$ since I was running under an xdm, it made it even more fun.  Aaah, the joys
$ of startx...
$ 
$ Remember, there's always the old-fashioned way to do things.

there's a fix:

get the Xserver link kit (part of XFree86),
edit /usr/X11R6/lib/X11/config/FreeBSD.cf and uncomment -lgnumalloc,
relink and install the server.

you're done.  the size of my Xserver dropped from 3-8mb to 1.9-5mb (depending
on what i ran, etc).


another option is to install XFree86 3.12.  that has everything linked with
gnumalloc.