Date: Sat, 15 Apr 2006 12:16:23 +1000 From: Dragos Ionita <dragosi@web.de> To: freebsd-hackers@freebsd.org Subject: grep out of memory error Message-ID: <E03DFB60-C182-48D0-AC3D-879E7A2FEE7D@web.de>
next in thread | raw e-mail | index | archive | help
Hi, not sure that I'm in the right mailing list here, but I got myselft the 6.1-RC1 amd64 iso yesterday and installed it. I've got a minimum system running and just 10 minutes ago, I ran a 'grep' command and it returned an "out of memory" error. The command run was: grep -d recurse sasl /* The error caused: swap_pager: out of swap space swap_pager_getswapspace(16): failed HOSTNAME kernel: pid 618 (grep), uid 0, was killed: out of swap space Killed Not sure, but this seems a bit odd; I've got one GB of RAM and 512M of swap space allocated. Running top beside the command gives you a nice view of what's happening: All of the RAM is used up almost instantly and the the swap space. All in all, in about 3 seconds, I get that out of memory error. Again, I'm not an expert in these matters, but it seems odd that grep needs more than 1.5GB to grep (even if it's recursive from the root dir). Does anyone else experience that problem as well? Thanks, Dragos
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E03DFB60-C182-48D0-AC3D-879E7A2FEE7D>