[linux-audio-user] Re: Snd (DAW dilemma)

Lee Revell rlrevell at joe-job.com
Fri Oct 1 17:49:49 EDT 2004

On Fri, 2004-10-01 at 17:00, Peter Lutek wrote:
> On Fri, 2004-10-01 at 06:38, Bill Schottstaedt wrote:
> >  > this is really not currently feasible in RAM.
> > 
> > But that's irrelevant from Snd's point of view -- it normally only
> > keeps 8K samples (or is it bytes?) in RAM for each open channel
> > or mix -- are you thinking of some other editor perhaps?  One
> > of my standard "regression tests" operates on a 6 hour stereo
> > 44 khz sound.
> strange.... my RAM usage goes up by an amount that appears to be equal
> to the wav file size, when loading a file into SND. of course, if the
> file size is large enough to slop into swap space, things get very slow.
> furthermore, and this is really disturbing, that memory is not released
> either when that file is closed, or when i quit SND.

This is how virtual memory works.  Opening the file with SND causes the
the file's pages to get cached in the page cache.  When you close the
file the pages will still be cached.  This is so that next time you open
the file, it will not have to be loaded from disk, but from the page


More information about the linux-audio-user mailing list