[Pljava-dev] java.lang.OutOfMemoryError

From: thomas at tada(dot)se (Thomas Hallgren)
To:
Subject: [Pljava-dev] java.lang.OutOfMemoryError
Date: 2006-06-28 12:57:58
Message-ID: 44A27CD6.6090608@tada.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

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.

Regards,
Thomas Hallgren

In response to

Responses

Browse pljava-dev by date

  From Date Subject
Next Message Eric BOYER 2006-06-28 13:29:04 [Pljava-dev] java.lang.OutOfMemoryError
Previous Message Eric BOYER 2006-06-28 12:47:02 [Pljava-dev] java.lang.OutOfMemoryError