From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "Sven Almgren" <sven(at)blocket(dot)se> |
Cc: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: BUG #4578: Not releaseing memory from PQmakeEmptyPGresult when calling PQisBusy |
Date: | 2008-12-12 14:15:13 |
Message-ID: | 4933.1229091313@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
"Sven Almgren" <sven(at)blocket(dot)se> writes:
> ==14976== 4,480 (384 direct, 4,096 indirect) bytes in 2 blocks are
> definitely lost in loss record 19 of 55
> ==14976== at 0x4A05809: malloc (vg_replace_malloc.c:149)
> ==14976== by 0x38FC80E194: PQmakeEmptyPGresult (in
> /usr/lib64/libpq.so.5.1)
> ==14976== by 0x38FC814BEC: (within /usr/lib64/libpq.so.5.1)
> ==14976== by 0x38FC816031: (within /usr/lib64/libpq.so.5.1)
> ==14976== by 0x38FC80D5AF: PQisBusy (in /usr/lib64/libpq.so.5.1)
AFAICS this would be your own bug, ie neglecting to collect and
eventually PQclear the result after PQisBusy has returned false.
> Without specifying too much about our system ...
If you are not willing to provide a self-contained test case there is
very little anyone else can do here.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Zahid Khan | 2008-12-12 15:06:31 | Re: ECPG Preprocessor throws Syntax Error [Devel Repository] |
Previous Message | Sven Almgren | 2008-12-12 13:53:04 | BUG #4578: Not releaseing memory from PQmakeEmptyPGresult when calling PQisBusy |