Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Memory management using Res and Row

From: Gary Anderson <ganderson(at)bslw.com>
Date: Wed Oct 24 2007 - 00:10:05 EDT


My application establishes a connection at the beginning of processing, then uses that connection to do several thousand operations involving reading and updating stored data. I use the Query, Result and Row objects. When the application exits, I seem to have a lot of un-released memory (leaks) that appear to be holding items read from the database during processing. The manual indicates that a ResUse object contains a purge() method to release the resources held by the object, but I can't seem to find similar methods for Result, Row or Query. Do such methods exist? If not, how is this allocated memory freed?

Gary

-- 
MySQL++ Mailing List
For list archives: 
http://lists.mysql.com/plusplus
To unsubscribe:    
http://lists.mysql.com/plusplus?unsub=lists@pantek.com
Received on Wed Oct 24 00:09:07 2007

This archive was generated by hypermail 2.1.8 : Fri Jul 04 2008 - 00:21:35 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library