Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id E60BD2E00DD for ; Fri, 22 Feb 2008 16:01:03 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 04012-05 for ; Fri, 22 Feb 2008 16:00:36 -0400 (AST) X-Greylist: delayed 00:29:59.408252 by SQLgrey-1.7.5 Received: from beaver.fastcrypt.com (beaver.fastcrypt.com [64.7.141.17]) by postgresql.org (Postfix) with ESMTP id 53A8F2E00F9 for ; Fri, 22 Feb 2008 16:00:36 -0400 (AST) Received: from [192.168.1.14] (dcdsl.ebox.com [64.7.143.116]) by beaver.fastcrypt.com (Postfix) with ESMTP id 6A42C158036C; Fri, 22 Feb 2008 14:34:11 -0500 (EST) Cc: Message-Id: <6A512B66-38FD-4CB7-A2BC-73198ECC5563@fastcrypt.com> From: Dave Cramer To: Kai Ruhl In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Subject: Re: JVM crash when select count(*) on large table through JDBC Date: Fri, 22 Feb 2008 14:30:38 -0500 References: X-Mailer: Apple Mail (2.919.2) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200802/179 X-Sequence-Number: 18386 On 22-Feb-08, at 11:25 AM, Kai Ruhl wrote: > Hello, > > I have a curious problem, which I would like to know whether somebody > can reproduce this: From a JVM using JDBC, I issue > > select count(*) from big_table > > where big table has more than 20 million entries (timestamps and > numbers). Upon PreparedStatement.executeQuery(), the VM quits, without > any message. > It's my understanding that regardless of what a java program is doing (aside from calling exit, or jni code) , it should never crash. I would say there is a bug in your jvm.