7.0.3 postmaster memory leak with aborted transactions - Mailing list pgsql-bugs

From Richard Ellis
Subject 7.0.3 postmaster memory leak with aborted transactions
Date
Msg-id 3AB977E0.A97082E@erols.com
Whole thread Raw
Responses Re: 7.0.3 postmaster memory leak with aborted transactions
List pgsql-bugs
Test case:

create table test (data text unique);

Outside of psql, run this command (This is for bash):

while true ; do echo "begin work; insert into test (data) values ('This
is a test string.'); commit work;" ; done | psql

Watch the resident set size of the postmaster that the psql is connected
to as the while loop pumps data into psql.  As transactions are aborted,
the RSS of the postmaster continues to grow.  Looks like postmaster is
leaking memory somewhere.

Postgresql 7.0.3, compiled for Linux/glibc2 with gcc 2.95.2.

--
Microsoft is not the answer.            Boycott Microsoft Home page
Microsoft is the question.              http://www0.vcnet.com/bms
No is the answer.

Microsoft: Bringing you ten-year old technology, tomorrow, maybe.

pgsql-bugs by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: Encoding problem
Next
From: Giles Lean
Date:
Subject: NetBSD 1.4.2/i386 needs to link psql with -ltermcap