pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Angelo Nicolosi <amenuor@hotmail.com>
To: pgsql-jdbc@postgresql.org
Subject: OOM on large SELECT
Date: Wed, 16 Sep 2009 15:26:36 +0200
Message-ID: <SNT114-W4952152D7DBA88FD891FAFA0E20@phx.gbl> (raw)


Hello,I'm Angelo and I'm new in this list.I'm a student in computer science and I'm working on a project with the postgres.I wrote some C-Language functions, added on a database and a client, written in Java, has to use them.There was the problem that if the table on which the client was working was larger than 10000 entries, the postgres was killed by the OOM. Surfing on internet for a solution I found that one of disable the Auto-commit when the client make the big SELECTs.But the problem remain.The dmesg command says:
Out of memory: Killed process 22592 (postgres).
And the only thing that the client outputs is: Killed.
On various web pages some people said that the problem could be a bug of the JDBC driver, because it doesn't really close the ResultSets. Is this true? There is some way to resolve the problem?Thank you in advance for your help.
Cheers,Angelo.
_________________________________________________________________
Gossip, Sport, Notizie... Accendi la Messenger TV!
http://www.messenger.it/messengerTV.aspx=

view thread (9+ messages)  latest in thread

Message-ID: <SNT114-W4952152D7DBA88FD891FAFA0E20@phx.gbl>
Permalink:  ../SNT114-W4952152D7DBA88FD891FAFA0E20@phx.gbl/
Also on:    postgresql.org/message-id/SNT114-W4952152D7DBA88FD891FAFA0E20@phx.gbl

 · 

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: amenuor@hotmail.com
  Subject: Re: OOM on large SELECT
  In-Reply-To: <SNT114-W4952152D7DBA88FD891FAFA0E20@phx.gbl>
  References: <SNT114-W4952152D7DBA88FD891FAFA0E20@phx.gbl>

* 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