logo       

Memory Usage and libpq: msg#00000

Subject: Memory Usage and libpq
I am investigating a memory usage issue and I noticed something with libpq.
It appears that libpq doesn't actually free memory allocated to store
results, even after PQclear() is called. In a debug program I can inspect
the buffer so I know it exists. I haven't verified whether the buffer is
resized with subsequent calls, but when dealing with large result sets it
creates a significant memory overhead.

Am I on to something here or do I need to keep looking? If so, is there any
way that I can force libpq to free or in some way drastically reduce this
biffer?

Thanks,

Keary Suska
(719) 473-6431
(719) 440-9952 (cell)


---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
science.linguis...    culture.sf.lite...    video.mplayer.c...    yellowdog.gener...    ietf.rfc822/199...    emacs.help/2002...    redhat.release....    kernel.speakup/...    java.openejb.de...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe