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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-jdbc by date

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