Re: Experiences with pl/Java

From: "Welty, Richard" <rwelty(at)ltionline(dot)com>
To: Edson Richter <edsonrichter(at)hotmail(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Experiences with pl/Java
Date: 2012-11-19 17:26:44
Message-ID: 1579549587CEA24C85CE49CE261FA5E10FD6CCFE@ltischcorpx01.lti.int
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Edson Richter [edsonrichter(at)hotmail(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Edson Richter 2012-11-19 17:42:19 Re: Experiences with pl/Java
Previous Message Edson Richter 2012-11-19 17:21:25 Re: Experiences with pl/Java