Subject: mmap eats memory
To: None <>
From: Andrew Kilpatrick <>
List: tech-kern
Date: 02/20/2001 01:24:59

I'm using mmap to provide access to very large audio
files. (possibly 300-600 megs) When I scan through an
entire file, the resident size of my process grows 
and grows until the RAM on the machine is full and all 
other processes are swapped to disk. 

Is this normal? And is there any way of preventing 
huge memory usage while still giving simple memory-mapped 
access to very large files? 

Any comments would be appreciated.

Andrew Kilpatrick