From: | thomas at tada(dot)se (Thomas Hallgren) |
---|---|
To: | |
Subject: | [Pljava-dev] PLJava + multi-thread |
Date: | 2005-10-28 10:50:48 |
Message-ID: | 43620288.9060801@tada.se |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pljava-dev |
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
From | Date | Subject | |
---|---|---|---|
Next Message | rcolmegna at tiscali.it | 2005-10-28 12:36:05 | [Pljava-dev] PLJava CVS ... how-to? |
Previous Message | Rakesh Vidyadharan | 2005-10-28 10:47:45 | [Pljava-dev] PLJava + multi-thread |