Re: Unknown Response Type 1

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: Gaetano Mendola <mendola(at)bigfoot(dot)com>
Cc: "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Unknown Response Type 1
Date: 2004-08-02 13:12:44
Message-ID: 410E3DCC.3010601@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Gaetano Mendola wrote:

> I had some OutOfMemory in the client side but not related with the
> Database interaction.

Are you sure there was no OutOfMemoryError thrown within the JDBC driver
code? (perhaps caused by some other part of the application exhausting
the heap?) The driver isn't very good about keeping connections in a
consistent state when unexpected exceptions are thrown. One possibility
is that OOME was thrown partway through reading or writing a message on
the protocol stream, but the driver did not invalidate that connection.
Subsequent use of the connection will then fail randomly since the
driver is out of sync with the message boundaries the server is expecting.

-O

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Mike Martin 2004-08-02 16:32:54 Re: Wrong column names in ResultSetMetaData
Previous Message Gaetano Mendola 2004-08-02 11:34:07 Re: Unknown Response Type 1