From: Eric.Boyer at insa-toulouse.fr (Eric BOYER) Date: Wed, 28 Jun 2006 15:29:04 +0200 Subject: [Pljava-dev] java.lang.OutOfMemoryError In-Reply-To: <44A27CD6.6090608@tada.se> References: <4492740D.4040302@insa-toulouse.fr> <4492BB01.5060205@tada.se> <44965774.7050203@insa-toulouse.fr> <44966070.4040806@tada.se> <44A134C6.5030003@insa-toulouse.fr> <44A13A99.60406@tada.se> <44A258BA.10605@insa-toulouse.fr> <44A25C49.6010907@tada.se> <44A27A46.6030407@insa-toulouse.fr> <44A27CD6.6090608@tada.se> Message-ID: <44A28420.5010108@insa-toulouse.fr> 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 > > >