----- Original Message ----- From: "tanjunhua" <tanjh@xxxxxxxxxx>
To: "Craig Ringer" <craig@xxxxxxxxxxxxxxxxxxxxx> Cc: "Postgres General Postgres General" <pgsql-general@xxxxxxxxxxxxxx> Sent: Tuesday, July 21, 2009 7:28 PM Subject: Re: memory leak occur when disconnect database
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 ./testprogramThe 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 beforeexecuting 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>&1Best wishes.
<<attachment: memory_leak.zip>>
-- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general