| From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | Christof Petig <christof(dot)petig(at)wtal(dot)de> |
| Cc: | pgsql-bugs(at)postgresql(dot)org, Michael Meskes <meskes(at)postgresql(dot)org> |
| Subject: | Re: [BUGS] ECPG memory leak detected |
| Date: | 1999-12-14 22:02:03 |
| Message-ID: | 199912142202.RAA05675@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
Attached is a patch that fixes some memory leaks in ecpg. Maybe it will
help your situation.
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> Hi,
>
> I observed a memory leak in one of my applications (grew about 20MB a
> day) and pinned it down to be
> ECPG related.
>
> The path is:
> ecpg_alloc
> quote_postgres
> ECPGexecute
> ECPGdo
>
> PostgreSQL Version 7.0 (about 24th November's CVS)
> This leak was at least present for two months.
>
> Christof
>
> If you have a direct idea on how to fix it, drop me a mail otherwise
> I'll (try to) fix it myself (about next week). It's not fatal, it's
> simply annoying.
>
> PS: Program used for this analysis: memprof (part of gnome) (Version
> 0.3.0)
>
> ************
>
>
--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
| Attachment | Content-Type | Size |
|---|---|---|
| unknown_filename | text/plain | 1.5 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tucker I Sylvestro | 1999-12-15 05:24:00 | Getting a "pg_dump error: sanity check failed!" |
| Previous Message | Cordelia Methfessel | 1999-12-13 19:00:59 | 'z' bug |