Java Memory Issue while Loading Postgres library - Mailing list pgsql-general

From
Subject Java Memory Issue while Loading Postgres library
Date
Msg-id 4AD2336877609F41A2B0D53BAD09FC570107D765@VOO-EXCHANGE07.internal.sungard.corp
Whole thread Raw
Responses Re: Java Memory Issue while Loading Postgres library  (Ognjen Blagojevic <ognjen@etf.bg.ac.rs>)
List 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.

 

pgsql-general by date:

Previous
From: Vincenzo Romano
Date:
Subject: Re: Inheritance efficiency
Next
From: Oliver Kohll - Mailing Lists
Date:
Subject: Re: Cumulative count (running total) window fn