Re: memory leak occur when disconnect database

From: "tanjunhua" <tanjh(at)riso(dot)co(dot)jp>
To: "Craig Ringer" <craig(at)postnewspapers(dot)com(dot)au>
Cc: "Postgres General Postgres General" <pgsql-general(at)postgresql(dot)org>
Subject: Re: memory leak occur when disconnect database
Date: 2009-07-21 10:28:19
Message-ID: 072101ca09ed$f7373510$aa1c10ac@RKC.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> Please provide full, buildable source code for your standalone test
> program (or confirm it also occurs with the sources I posted) and the
> output of:
>
> valgrind --leak-check=full ./testprogram

The appendix include source code, execute program and output from top
command and Valgrind.
the top_result_before_1_hour is the information got from top command before
executing test program.
after 1 hour performance, I store the top information into
top_result_after_1_hour.
the valgrind_output is the information from Valgrind:

valgrind --leak-check=full show-reachable=yes ./test > valgrind_output 2>&1

Best wishes.

Attachment Content-Type Size
memory leak.zip application/octet-stream 10.5 KB

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Sam Mason 2009-07-21 10:35:47 Re: Best practices for moving UTF8 databases
Previous Message Peter Eisentraut 2009-07-21 10:12:48 Re: First query very slow. Solutions: memory, or settings, or SQL?