Skip site navigation (1) Skip section navigation (2)

Re: [BUGS] ECPG memory leak detected

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 (view raw or flat)
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

In response to

Responses

pgsql-bugs by date

Next:From: Tucker I SylvestroDate: 1999-12-15 05:24:00
Subject: Getting a "pg_dump error: sanity check failed!"
Previous:From: Cordelia MethfesselDate: 1999-12-13 19:00:59
Subject: 'z' bug

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group