Re: [GENERAL] Java Memory Issue while Loading Postgres library

2010-04-30 Thread Ognjen Blagojevic
a.bhattacha...@sungard.com wrote: 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

Re: FW: [GENERAL] Java Memory Issue while Loading Postgres library

2010-04-30 Thread A.Bhattacharya
-Original Message- From: Craig Ringer [mailto:cr...@postnewspapers.com.au] Sent: Friday, April 30, 2010 12:01 PM To: Arya, Ashish Cc: pgsql-general@postgresql.org; Bhattacharya, A Subject: Re: FW: [GENERAL] Java Memory Issue while Loading Postgres library Hi Did you eventually figure

Re: FW: [GENERAL] Java Memory Issue while Loading Postgres library

2010-04-29 Thread Craig Ringer
Hi Did you eventually figure out what was wrong? Was it just that you were trying to load a full result set and running out of memory with an OutOfMemoryError? Or was the jvm truly crashing rather than just throwing OutOfMemoryError? -- Craig Ringer -- Sent via pgsql-general mailing list (p

Re: FW: [GENERAL] Java Memory Issue while Loading Postgres library

2010-04-29 Thread Craig Ringer
On 29/04/2010 9:23 PM, ashish.a...@sungard.com wrote: Hi Craig, Sorry for creating confusion. Let me (I work with Ambarish, the original author of the mail) try to be more specific now. We have a library (written in C) which helps us in doing phonetic based name search. We want to use this libr

Re: FW: [GENERAL] Java Memory Issue while Loading Postgres library

2010-04-29 Thread Ashish.Arya
NERAL] Java Memory Issue while Loading Postgres library On 29/04/2010 8:48 PM, a.bhattacha...@sungard.com wrote: > Your understanding is slightly incorrect. Actually we required to uses a > special library from postgres. That mystery library being? From "postgres"? Do you mean a lib

Re: FW: [GENERAL] Java Memory Issue while Loading Postgres library

2010-04-29 Thread Craig Ringer
On 29/04/2010 8:48 PM, a.bhattacha...@sungard.com wrote: Your understanding is slightly incorrect. Actually we required to uses a special library from postgres. That mystery library being? From "postgres"? Do you mean a library supplied by the PostgreSQL project its self? Libpq? If not, what?

Re: FW: [GENERAL] Java Memory Issue while Loading Postgres library

2010-04-29 Thread A.Bhattacharya
-Original Message- From: Craig Ringer [mailto:cr...@postnewspapers.com.au] Sent: Thursday, April 29, 2010 6:02 PM To: Bhattacharya, A Cc: pgsql-general@postgresql.org Subject: Re: FW: [GENERAL] Java Memory Issue while Loading Postgres library On 29/04/2010 7:34 PM, a.bhattacha

Re: FW: [GENERAL] Java Memory Issue while Loading Postgres library

2010-04-29 Thread Craig Ringer
On 29/04/2010 7:34 PM, a.bhattacha...@sungard.com wrote: 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). If I understand you correctly, you have a dll that uses ecpg to communicate w

FW: [GENERAL] Java Memory Issue while Loading Postgres library

2010-04-29 Thread A.Bhattacharya
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 cons

[GENERAL] Java Memory Issue while Loading Postgres library

2010-04-29 Thread A.Bhattacharya
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 cons