Re: JVM crash when select count(*) on large table through JDBC - Mailing list pgsql-jdbc

From Dave Cramer
Subject Re: JVM crash when select count(*) on large table through JDBC
Date
Msg-id 6A512B66-38FD-4CB7-A2BC-73198ECC5563@fastcrypt.com
Whole thread Raw
In response to JVM crash when select count(*) on large table through JDBC  ("Kai Ruhl" <k.ruhl@etamax.de>)
Responses Re: JVM crash when select count(*) on large table through JDBC
List pgsql-jdbc
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.



pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: UTF8 should be accepted as UNICODE
Next
From: "Andres Olarte"
Date:
Subject: Re: JVM crash when select count(*) on large table through JDBC