[Pljava-dev] java.lang.OutOfMemoryError

From: Eric(dot)Boyer at insa-toulouse(dot)fr (Eric BOYER)
To:
Subject: [Pljava-dev] java.lang.OutOfMemoryError
Date: 2006-06-28 13:29:04
Message-ID: 44A28420.5010108@insa-toulouse.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

Thomas Hallgren a ?crit :

>Eric BOYER wrote:
>
>
>>just one thing
>>
>>We always use the fonction execute and never executeUpdate for our
>>operations ...
>>
>>
>>is it important ?
>>
>>
>>
>It might be. If the query is producing a ResultSet (any 'SELECT ...'
>that is not a 'SELECT ... INTO' will do that) and you forget to close
>the statement, then you leave the ResultSet dangling.
>
>
We close all resultset !

The long treatment for the data insertion last about 30 heures !

>Regards,
>Thomas Hallgren
>
>_______________________________________________
>Pljava-dev mailing list
>Pljava-dev at gborg.postgresql.org
>http://gborg.postgresql.org/mailman/listinfo/pljava-dev
>
>
>

In response to

Responses

Browse pljava-dev by date

  From Date Subject
Next Message Thomas Hallgren 2006-06-28 13:42:15 [Pljava-dev] java.lang.OutOfMemoryError
Previous Message Thomas Hallgren 2006-06-28 12:57:58 [Pljava-dev] java.lang.OutOfMemoryError