Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@apache.org Received: (qmail 6749 invoked from network); 29 Nov 2001 17:39:05 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 29 Nov 2001 17:39:05 -0000 Received: (qmail 5416 invoked by uid 97); 29 Nov 2001 17:38:54 -0000 Delivered-To: qmlist-jakarta-archive-lucene-user@jakarta.apache.org Received: (qmail 5250 invoked by uid 97); 29 Nov 2001 17:38:51 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 5074 invoked from network); 29 Nov 2001 17:38:47 -0000 Subject: Re: OutOfMemoryError In-Reply-To: <009a01c178f8$2a3d0870$6401a8c0@PROVIDENCE> To: Lucene Users List Date: Thu, 29 Nov 2001 12:38:21 -0500 (EST) Cc: chantal.ackermann@biomax.de X-Mailer: ELM [version 2.4ME+ PL94 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Message-Id: <20011129173821.504973C1B3@darksleep.com> From: puffmail@darksleep.com (Steven J. Owens) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I wrote: > > Java often has misleading error messages. For example, on > > solaris machines the default ulimit used to be 24 - that's 24 open > > file handles! Yeesh. This will cause an OutOfMemoryError. So don't Jeff Trent replied: > Wow. I did not know that! > > I also don't see an option to increase that limit from java -X. Do you know > how to increase that limit? That's "used to be", I think it's larger on newer machines. I don't think there's a java command line option to set this, it's a system limit. The solaris command to check it is "ulimit". To set it for a given login process (assuming sufficient privileges) use "ulimit number" (i.e. "ulimit 128"). "ulimit -a" prints out all limits. Steven J. Owens puff@darksleep.com -- To unsubscribe, e-mail: For additional commands, e-mail: