Re: Experiences with pl/Java - Mailing list pgsql-general

From Welty, Richard
Subject Re: Experiences with pl/Java
Date
Msg-id 1579549587CEA24C85CE49CE261FA5E10FD6CCFE@ltischcorpx01.lti.int
Whole thread Raw
In response to Re: Experiences with pl/Java  (Edson Richter <edsonrichter@hotmail.com>)
Responses Re: Experiences with pl/Java  (Edson Richter <edsonrichter@hotmail.com>)
List pgsql-general
Edson Richter [edsonrichter@hotmail.com] writes:

>I don't know much about PostgreSQL with plJava, but I can give a few
>tips about memory stability when using Java (see inline):

...
>In the past, one choice was using static classes whenever possible. This
>is not true (neither recommended) anymore, and in most of the cases
>having thousands of cicles creation-use-release makes GC more effective
>(and your VM more stable).

PL/Java requires that the methods being directly called from PostgreSQL are static.
while i don't disagree with the advice, PL/Java is limited in this respect.

richard


pgsql-general by date:

Previous
From: Edson Richter
Date:
Subject: Re: Experiences with pl/Java
Next
From: Edson Richter
Date:
Subject: Re: Experiences with pl/Java