Java Memory Issue while Loading Postgres library

From: <A(dot)Bhattacharya(at)sungard(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Java Memory Issue while Loading Postgres library
Date: 2010-04-29 09:52:19
Message-ID: 4AD2336877609F41A2B0D53BAD09FC570107D765@VOO-EXCHANGE07.internal.sungard.corp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Dear All Experts,

We have a java exe making a call to a postgres function. This postgres
function internally makes a call to a dll (which is written using
Postgres extended C).

Now the issue is that, when we make a call to this dll, it consumes a
lot of memory and this memory is getting consumed from the heap space of
the original java process causing an out of memory exception in Java.

Is this a known issue. Do we have a way to keep these processes disjoint
and not eat up heap space of the original process?

Please provide your suggestions/advises on the same.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Oliver Kohll - Mailing Lists 2010-04-29 10:39:43 Re: Cumulative count (running total) window fn
Previous Message Vincenzo Romano 2010-04-29 09:29:36 Re: Inheritance efficiency