From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,f0be94ea6151b424 X-Google-Attributes: gidfee84,public From: "Peter S. Shenkin" Subject: Re: not enough memory for mmap() Date: 1999/10/02 Message-ID: <7t41e0$4l8$1@nntp2.atl.mindspring.net>#1/1 X-Deja-AN: 531802966 References: X-Priority: 3 X-Server-Date: 2 Oct 1999 04:24:32 GMT X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Organization: MindSpring Enterprises X-MSMail-Priority: Normal Newsgroups: comp.unix.osf.osf1 William R. Pearson wrote in message news:kjogejusgd.fsf_-_@alpha0.bioch.virginia.edu... > > I am trying to use mmap() to provide better access to some large > files of text records. While I am often able to memory map the files, > sometimes mmap() fails with the message: > > : Not enough space > > Typically this occurs the second time I run a program to map the > files, after an earlier program has succeeded. How about "limit datasize unlimited" (assuming csh; ulimit otherwise). -P.