Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 3061E2E0182 for ; Fri, 22 Feb 2008 16:19:43 -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 30281-02-3 for ; Fri, 22 Feb 2008 16:19:37 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from el-out-1112.google.com (el-out-1112.google.com [209.85.162.182]) by postgresql.org (Postfix) with ESMTP id 28DC22E0189 for ; Fri, 22 Feb 2008 16:19:35 -0400 (AST) Received: by el-out-1112.google.com with SMTP id r27so576101ele.5 for ; Fri, 22 Feb 2008 12:19:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=6yDEuZaMI95u1jg5thBG4CqFYa2g9Rmbjm6h78HSaBI=; b=f1n3uxsBv5AcVjOg6UQBkCewiwRoII8VQbknyNM6LWfrm6ArAyba6BieAL9EJDbPCe8+PlfSPo1zn4RgNI77nc8QuIAjP4C37b0P3s+P52pInmmv08dvyeOitpLkInlFkiHOgVckLZzjS4qdxnk632dh5Qnd7RxMR7oiENWbqsM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tK0PzVSnKllwg8u+tjjVyb+4YvVxuarJj5lacD7DE60fy+guxwPCw7Jt7TYrz05fJEcPhwyoAL+Ak0Do7G9Qa1u+oFecoIS2jBcZE5JD9iRPDAo185ALH8Fb6R/ybmgpfrqYHv/Wb5pcK9iZ5kd3gqlPWxBCfhirJSPeYAbaZNw= Received: by 10.142.231.7 with SMTP id d7mr353842wfh.194.1203711542922; Fri, 22 Feb 2008 12:19:02 -0800 (PST) Received: by 10.142.179.18 with HTTP; Fri, 22 Feb 2008 12:19:02 -0800 (PST) Message-ID: <3fccaa690802221219u7c7fd66bk4cc152cb8819e26b@mail.gmail.com> Date: Fri, 22 Feb 2008 14:19:02 -0600 From: "Andres Olarte" To: "Kai Ruhl" Subject: Re: JVM crash when select count(*) on large table through JDBC Cc: pgsql-jdbc@postgresql.org In-Reply-To: <6A512B66-38FD-4CB7-A2BC-73198ECC5563@fastcrypt.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6A512B66-38FD-4CB7-A2BC-73198ECC5563@fastcrypt.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200802/180 X-Sequence-Number: 18387 Just did a quick test with synthetic data (20M rows 3 columns: serial, timestamp, and text). And it worked ok both on Java (with driver postgresql-8.1-407.jdbc3.jar) and PgAdmin. Perhaps you could try to build a test case to expose the problem? On Fri, Feb 22, 2008 at 1:30 PM, Dave Cramer wrote: > > 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. > > > > ---------------------------(end of broadcast)--------------------------- > TIP 6: explain analyze is your friend >