Re: Probable memory leak with ECPG and AIX - Mailing list pgsql-hackers

From Benoit Lobréau
Subject Re: Probable memory leak with ECPG and AIX
Date
Msg-id CAPE8EZ42eWAemjj58DO0WArCMDG2VYWut38aAGo9V8QH8ETqrg@mail.gmail.com
Whole thread Raw
In response to Re: Probable memory leak with ECPG and AIX  (talk to ben <blo.talkto@gmail.com>)
Responses Re: Probable memory leak with ECPG and AIX  (Noah Misch <noah@leadboat.com>)
List pgsql-hackers
Our client confirmed that the more he fetches the more memory is consumed.
The segfault was indeed caused by the absence of LDR_CNTRL.

The tests show that:

* without LDR_CNTRL, we reach 256Mb and segfault ;
* with LDR_CNTRL=MAXDATA=0x10000000, we reach 256Mo but there is no segfault, the program just continues running ;
* with LDR_CNTRL=MAXDATA=0x80000000, we reach 2Go and there is no segfault either, the program just continues running.

pgsql-hackers by date:

Previous
From: Matthias van de Meent
Date:
Subject: Re: generalized conveyor belt storage
Next
From: Tom Lane
Date:
Subject: Re: Adding CI to our tree