By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,176 Members | 984 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,176 IT Pros & Developers. It's quick & easy.

finding memory leaks in extensions

P: n/a
Hello,

I'm trying to detect memory leaks in an external postgres extensions.
Since SIZE of postgres process keeps growing between function calls,
does this mean there are memory leaks in the extenal packages or
it might be the postgres itself keeping allocated memory as a buffer
for later use ? To note also that the same identical calls keeps
making SIZE grow ...

PS: I'm working with postgres-7.3.2

TIA
--strk;

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Nov 12 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On Monday 29 September 2003 15:35, strk wrote:
Hello,

I'm trying to detect memory leaks in an external postgres extensions.
Since SIZE of postgres process keeps growing between function calls,
does this mean there are memory leaks in the extenal packages or
it might be the postgres itself keeping allocated memory as a buffer
for later use ? To note also that the same identical calls keeps
making SIZE grow ...


Use valgrind. It's an excellent tool. It takes a huge performance hit but can
detect very steakthy bugs.

Shridhar
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Nov 12 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.