agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] java.lang.OutOfMemoryError
Date: Fri, 16 Jun 2006 11:04:13 +0200
Message-ID: <4492740D.4040302@insa-toulouse.fr> (raw)

Hello

We use pl java to launch an application

org.postgresql.util.PSQLException: ERREUR: java.lang.OutOfMemoryError
        at 
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1512)
        at 
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1297)
        at 
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:188)
        at 
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:437)
        at 
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:339)
        at 
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:331)

We have a long treatment in a loop and the memory grow gradually up to a 
java.lang.OutOfMemoryError.

What could be the problem ?

- garbage collector ?
- vmoptions ? : pljava.vmoptions = '-Xmx64M'

Our serveur have 1Go RAM and postmaster start with a low consumption of 
RAM and grow up to ~300M ...

Thanks for your help

Eric





view thread (14+ messages)  latest in thread

Message-ID: <4492740D.4040302@insa-toulouse.fr>
Permalink:  ../4492740D.4040302@insa-toulouse.fr/
Also on:    postgresql.org/message-id/4492740D.4040302@insa-toulouse.fr

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pljava-dev@postgresql.org
  Subject: Re: [Pljava-dev] java.lang.OutOfMemoryError
  In-Reply-To: <4492740D.4040302@insa-toulouse.fr>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox