agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] java.lang.OutOfMemoryError
Date: Mon, 19 Jun 2006 10:29:36 +0200
Message-ID: <44966070.4040806@tada.se> (raw)
In-Reply-To: <44965774.7050203@insa-toulouse.fr>
References: <4492740D.4040302@insa-toulouse.fr>
	<4492BB01.5060205@tada.se>
	<44965774.7050203@insa-toulouse.fr>

Eric BOYER wrote:
> Thomas Hallgren a ?crit :
>
>> Eric,
>> You limit the postmaster to use 64M memory per session.
>>
> A session is a the trigger ?
>
No, a session is a connection to the database.

> We use :
> Postgres 8.1
> Pljava 1.2.0
> jdk 1.4
>
> Our server launch trigger which launch trigger, etc ...
> The treatment is long sometimes ...
>
I would recommend three things.

1. Upgrade your Java to a 1.5.0_07 version. It performs much better from 
a memory consumption perspective.
2. Updgrate to PL/Java 1.3.0
3. If that doesn't help, try -Xmx128M.

Regards,
Thomas Hallgren




view thread (14+ messages)  latest in thread

Message-ID: <44966070.4040806@tada.se>
Permalink:  ../44966070.4040806@tada.se/
Also on:    postgresql.org/message-id/44966070.4040806@tada.se

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: <44966070.4040806@tada.se>

* 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