[Pljava-dev] java.lang.OutOfMemoryError

From: thomas at tada(dot)se (Thomas Hallgren)
To:
Subject: [Pljava-dev] java.lang.OutOfMemoryError
Date: 2006-06-19 08:29:36
Message-ID: 44966070.4040806@tada.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

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

In response to

Responses

Browse pljava-dev by date

  From Date Subject
Next Message Thomas Hallgren 2006-06-19 08:32:17 [Pljava-dev] Update 1.2 to 1.3
Previous Message Eric BOYER 2006-06-19 08:12:14 [Pljava-dev] Update 1.2 to 1.3