7.0.3 postmaster memory leak with aborted transactions

From: Richard Ellis <rellis(at)erols(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: 7.0.3 postmaster memory leak with aborted transactions
Date: 2001-03-22 03:56:16
Message-ID: 3AB977E0.A97082E@erols.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Giles Lean 2001-03-22 07:26:49 7.1beta6 on NetBSD-1.5/i386 fails geometry test in 'make check'
Previous Message Webmaster 2001-03-22 01:09:06 Help