Re: grep: memory exhausted



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 |

_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • find -regex / grep show different results
    ... Regular expressions used for searching that begin or end with '.*'. ... If you are willing to accept "zero repetitions" of the anything, why specify it? ... My first thought was to ask in comp.unix.shell, but my best guess is that this is something related to find being ``freebsd find'' and grep being ``gnu grep'', so it goes here first. ... I _do_ have two different regex engines? ...
    (comp.unix.bsd.freebsd.misc)
  • Re: help! - how to get postgres 7.3 back
    ... On Friday 09 January 2004 15:02, Nicos Gollan wrote: ... > You can specify a version when calling apt-get, read the manpage for ...
    (Debian-User)
  • Re: Problems compiling GNOME 2.4
    ... > i compile everything by hand, because i want to specify the installation ... manpage and section 4.5.2.3 of the handbook ...
    (comp.unix.bsd.freebsd.misc)
  • Re: help! - how to get postgres 7.3 back
    ... > the database, ... You can specify a version when calling apt-get, read the manpage for ...
    (Debian-User)
  • Re: /bin/sh can not hold more than one space in a string
    ... The output of GREP is ... You CAN specify one or more spaces in a string. ... If all else fails, buy a copy of "Mastering Regular Expressions" by Jeffrey Friedl, published by O'Reilly & Associates which will teach you more than you ever wanted to know about REs. ...
    (comp.unix.solaris)