473,396 Members | 2,111 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

finding memory leaks in extensions

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
1 1690
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Maurice | last post by:
Hi there, I'm experiencing big memory problems on my webserver. First on an old RedHat 7.2 system, now on an other fresh installed Suse 8.2 system: Linux version 2.4.20-4GB...
2
by: Generic Usenet Account | last post by:
I have been using STL for a long time now, without any problems. Recently we generated a purification report on our software using Rational Purify, and we found some memory leaks. My colleague...
2
by: rythm | last post by:
I read a some doumentation about avoiding Memory Leaks. Like use the Dispose method properly, creating and using variable and objects in a certain way. However, my question is how do I find Memory...
2
by: mircu | last post by:
Hi, I need a tool to check my applicationm for memory leaks. It uses mixed code and for now I didn't find proper tool. My application is managed c++ app and it uses mc++ wrappers for my unmanaged...
3
by: Jim Land | last post by:
Jack Slocum claims here http://www.jackslocum.com/yui/2006/10/02/3-easy-steps-to-avoid-javascript- memory-leaks/ that "almost every site you visit that uses JavaScript is leaking memory". ...
4
by: PL | last post by:
Hi everyone, I was surprised to see memory leaks in our application when it crashed today. Basically, the code is written in C#, but with c# and C++ DLLS; its the latter (managed extensions) that...
1
by: Michael Schuerig | last post by:
I'm looking for strategies to find and prevent unnecessary memory consumption. This includes real memory leaks caused by browser bugs, of course, but beyond that I'm also thinking of closures that...
2
by: Gabriel Genellina | last post by:
En Sun, 20 Apr 2008 14:43:17 -0300, Christian Heimes <lists@cheimes.deescribió: Ouch! May I assume that code that doesn't use stack frames nor stores references to exception objects/tracebacks...
16
by: graham.keellings | last post by:
hi, I'm looking for an open source memory pool. It's for use on an embedded system, if that makes any difference. Something with garbage collection/defragmentation would be nice. It should have...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.