Re: possible memory leak in 8.0 beta 1 - Mailing list pgsql-general

From Shelby Cain
Subject Re: possible memory leak in 8.0 beta 1
Date
Msg-id 20040901172916.81411.qmail@web41601.mail.yahoo.com
Whole thread Raw
In response to possible memory leak in 8.0 beta 1  (Shelby Cain <alyandon@yahoo.com>)
List pgsql-general
--- Shelby Cain <alyandon@yahoo.com> wrote:

[stuff about memory leaking snipped]

I see the following in the beta 2 changelog:

2004-08-25 15:43  tgl

* src/backend/: access/transam/xact.c,
utils/mmgr/portalmem.c, utils/resowner/README,
utils/resowner/resowner.c: Revise ResourceOwner code
to avoid accumulating ResourceOwner objects for every
command executed within a transaction.  For long
transactions this was a significant memory leak.
Instead, we can delete a portal's or subtransaction's
ResourceOwner immediately, if we physically transfer
the information about its locks up to the parent
owner.  This does not fully solve the leak problem; we
need to do something about counting multiple
acquisitions of the same lock in order to fix it.  But
it's a necessary step along the way.

Is this what I'm seeing?

Regards,

Shelby Cain




__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail

pgsql-general by date:

Previous
From: Shelby Cain
Date:
Subject: possible memory leak in 8.0 beta 1
Next
From: Tom Lane
Date:
Subject: Re: possible memory leak in 8.0 beta 1