Skip site navigation (1) Skip section navigation (2)

Re: java.sql.Statement generates java.lang.OutOfMemoryError in big tabe

From: Kris Jurka <books(at)ejurka(dot)com>
To: "Hartmann, Christian (externer Mitarbeiter)" <Christian(dot)Hartmann(at)schufa(dot)de>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: java.sql.Statement generates java.lang.OutOfMemoryError in big tabe
Date: 2009-01-20 18:27:52
Message-ID: Pine.BSO.4.64.0901201326540.8738@leary.csoft.net (view raw or flat)
Thread:
Lists: pgsql-jdbc

On Tue, 20 Jan 2009, Hartmann, Christian (externer Mitarbeiter) wrote:

> I have a database with two lage tables 1'900'000 and 2'800'000 records.
>
> But this simple class generates the following error.
>
> Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
>

See:

http://jdbc.postgresql.org/documentation/83/query.html#query-with-cursor

Kris Jurka

In response to

pgsql-jdbc by date

Next:From: Simon RiggsDate: 2009-01-21 09:58:04
Subject: Deadlock detection
Previous:From: Hartmann, Christian (externer Mitarbeiter)Date: 2009-01-20 16:47:04
Subject: java.sql.Statement generates java.lang.OutOfMemoryError in big tabe

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group