agora inbox for pljava-dev@postgresql.org
help / color / mirror / Atom feedSubject: [Pljava-dev] PLJava + multi-thread
Date: Fri, 28 Oct 2005 12:50:48 +0200
Message-ID: <43620288.9060801@tada.se> (raw)
In-Reply-To: <6E20A920-02D9-4D1A-BC61-8D00EE7387E4@rakeshv.org>
References: <4354AB8F00029A92@mail-4.mail.tiscali.sys>
<6E20A920-02D9-4D1A-BC61-8D00EE7387E4@rakeshv.org>
Rakesh,
I think this is fixed too in the latest source. It would be very helpful
if you can download, compile, and verify that it works for you.
Regards,
Thomas Hallgren
Rakesh Vidyadharan wrote:
>
> On 28 Oct 2005, at 02:18, rcolmegna at tiscali.it wrote:
>
>> Hi,
>>
>> I used PLJava on PG 8.0.3 for build a trigger which send, via
>> queue+thread,
>> the inserted
>> record to another PG instance.
>>
>> It works, but after every INSERT executed on PGSQL I obtain this error:
>>
>> javatest=# insert into x(info) values(now());
>> server closed the connection unexpectedly
>> This probably means the server terminated abnormally
>> before or while processing the request.
>> The connection to the server was lost. Attempting reset: Succeeded.
>>
>>
>> Note that the java-code doesn't raise any exception .... :(
>
> I have had PL/Java "crash" the PostgreSQL server when doing some
> complex things. I tried increasing the Xmx attribute for the JVM
> PL/Java spawns, and that fixed the issue for me. It is still
> unfortunate that PL/Java causes the server to crash instead of just
> throwing a java.lang.OutOfMemoryException.
> _______________________________________________
> Pljava-dev mailing list
> Pljava-dev at gborg.postgresql.org
> http://gborg.postgresql.org/mailman/listinfo/pljava-dev
view thread (5+ messages) latest in thread
Message-ID: <43620288.9060801@tada.se>
Permalink: ../43620288.9060801@tada.se/
Also on: postgresql.org/message-id/43620288.9060801@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] PLJava + multi-thread
In-Reply-To: <43620288.9060801@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