: memory exhausted
I have tried piping grep (cat file | grep search term)
I have tried it with -line-buffered
ulimit -a show:
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) 524288
Try increasing this. I think grep mmaps the file, so the large file could
be exceeding your
Hi there,
I am running a fresh install of FreeBSD-6.1-Stable as a guest OS in
VMWare 1.0.1 with 1 GB of RAM.
Whenever I try to grep a large text file (400 MB+), grep terminates with
grep: memory exhausted
I have tried piping grep (cat file | grep search term)
I have tried
On Wed, Nov 29, 2006 at 03:10:33PM -0500, van Osnabrugge, Sean wrote:
Hi there,
I am running a fresh install of FreeBSD-6.1-Stable as a guest OS in
VMWare 1.0.1 with 1 GB of RAM.
Whenever I try to grep a large text file (400 MB+), grep terminates with
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