*BSD News Article 84501


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!vixen.cso.uiuc.edu!news.indiana.edu!news
From: jfieber@indiana.edu (John Fieber)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: memory allocation problem
Date: 8 Dec 1996 18:45:11 GMT
Organization: Indiana University, Bloomington
Lines: 11
Sender: jfieber@fallout.campusview.indiana.edu
Message-ID: <58f2bn$br2@dismay.ucs.indiana.edu>
References: <58e60m$pg8@nerd.apk.net>
NNTP-Posting-Host: fallout.campusview.indiana.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8

In article <58e60m$pg8@nerd.apk.net>,
	droberts@apk.net (Dan Roberts) writes:
> Why is everything being allocated to cache??  It works fine as if it were
> actually free.  Seems to reallocate well, but why does it do it in the
> first place?

Because "free" memory is wasted resource.  FreeBSD tries to make the
best use of all available memory.  When it isn't needed for active
processes, it gets used for other things like cache.

-john