pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Gaetano Mendola <mendola@bigfoot.com>
Cc: pgsql-jdbc@postgresql.org <pgsql-jdbc@postgresql.org>
Subject: Re: Unknown Response Type 1
Date: Tue, 03 Aug 2004 01:12:44 +1200
Message-ID: <410E3DCC.3010601@opencloud.com> (raw)
In-Reply-To: <410E28AD.2030406@bigfoot.com>
References: <ceiibv$sb$1@floppy.pyrenet.fr>
	<410CE657.7010101@opencloud.com>
	<410CFC0F.1090802@bigfoot.com>
	<410D87CB.3030603@opencloud.com>
	<410E28AD.2030406@bigfoot.com>

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



view thread (7+ messages)

Message-ID: <410E3DCC.3010601@opencloud.com>
Permalink:  ../410E3DCC.3010601@opencloud.com/
Also on:    postgresql.org/message-id/410E3DCC.3010601@opencloud.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: oliver@opencloud.com, mendola@bigfoot.com
  Subject: Re: Unknown Response Type 1
  In-Reply-To: <410E3DCC.3010601@opencloud.com>
  References: <ceiibv$sb$1@floppy.pyrenet.fr> <410CE657.7010101@opencloud.com> <410CFC0F.1090802@bigfoot.com> <410D87CB.3030603@opencloud.com> <410E28AD.2030406@bigfoot.com> <410E3DCC.3010601@opencloud.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox