From owner-freebsd-stable@FreeBSD.ORG Wed Nov 29 20:02:27 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 785D816A412 for ; Wed, 29 Nov 2006 20:02:27 +0000 (UTC) (envelope-from svanosnabrugge@osler.com) Received: from MXtreme1.osler.com (mxtreme1.osler.com [199.85.19.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2836E43D6B for ; Wed, 29 Nov 2006 20:01:44 +0000 (GMT) (envelope-from svanosnabrugge@osler.com) Content-class: urn:content-classes:message MIME-Version: 1.0 X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Wed, 29 Nov 2006 15:01:38 -0500 Message-ID: <7883F37393F1D44990888174C2E5E912226667@TSV-EXCHANGE.ohhllp.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: grep: memory exhauted Thread-Index: AccT8S3PtdgCi3TARGakBiwp3ZK0nQ== From: "van Osnabrugge, Sean" To: X-OriginalArrivalTime: 29 Nov 2006 20:01:38.0931 (UTC) FILETIME=[2E5E0C30:01C713F1] Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: grep: memory exhauted X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Nov 2006 20:02:27 -0000 Hi there, =20 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. =20 Whenever I try to grep a large text file (400 MB+), grep terminates with = =93grep: memory exhausted=94 =20 I have tried piping grep (cat =93file=94 | grep =93search term=94) I have tried it with =96line-buffered =20 ulimit =96a show: core file size (blocks, -c) unlimited data seg size (kbytes, -d) 524288 file size (blocks, -f) unlimited max locked memory (kbytes, -l) unlimited max memory size (kbytes, -m) unlimited open files (-n) 11095 pipe size (512 bytes, -p) 1 stack size (kbytes, -s) 65536 cpu time (seconds, -t) unlimited max user processes (-u) 5547 virtual memory (kbytes, -v) unlimited =20 Any help? =20 Thanks, Sean van Osnabrugge=20 Email/Exchange Administrator=20 Networking Services=20 * Email: svanosnabrugge@osler.com =20 ( Office: 416-646-3123=20 =B9 Hours: Monday - Friday, 9:00AM - 5:00PM EST=20 =20 *********************************************************************** This e-mail message is privileged, confidential and subject to copyright. Any unauthorized use or disclosure is prohibited. Le contenu du présent courriel est privilégié, confidentiel et soumis à des droits d'auteur. Il est interdit de l'utiliser ou de le divulguer sans autorisation. ***********************************************************************