Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: wrp@alpha0.bioch.virginia.edu (William R. Pearson)
Subject: not enough memory for mmap()
Date: 1999/10/01	[thread overview]
Message-ID: <kjogejusgd.fsf_-_@alpha0.bioch.virginia.edu> (raw)


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.

This happens despite the fact that I have 2 GB of physical memory and
4 GB of virtual memory, more than enough for the 10 - 300 Mb files I
am trying to map.

The program, on the same data, maps fine on an SGI with less physical
and virtual memory.  I have also renamed (but not removed) the
/sbin/swapdefault link.

I would appreciate any guidance into what might be happening.

Bill Pearson



             reply	other threads:[~1999-10-01  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-01  4:00 William R. Pearson [this message]
1999-10-02  4:00 ` not enough memory for mmap() Peter S. Shenkin
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox