grep: memory exhausted
Jeremy Chadwick
koitsu at FreeBSD.org
Wed Nov 29 22:30:50 PST 2006
On Wed, Nov 29, 2006 at 11:41:23PM -0500, Kris Kennaway wrote:
> Try increasing this. I think grep mmaps the file, so the large file
> could be exceeding your limit.
According to the manpage, grep uses read(2) unless you specify --mmap
which then (obviously) uses mmap(2).
--
| Jeremy Chadwick jdc at parodius.com |
| Parodius Networking http://www.parodius.com/ |
| UNIX Systems Administrator Mountain View, CA, USA |
| Making life hard for others since 1977. PGP: 4BD6C0CB |
More information about the freebsd-stable
mailing list