memory leaks using the "manage_new_object" return policy...

Kevin Jones <[email protected]>
Newsgroups gmane.comp.lib.boost.langbinding
Message-ID <[email protected]>
Hi,

I am using the manage_new_object return policy to wrap
"newed" C++ object in an effort to conserve memory.

Even though I am deleting the returned object in
Python and invoking the Python garbage collector I
still have a leak. This is a long-running systems
adminstration app the read the contents of a very
large database.

Any suggestions on how to make manage_new_object
behave correctly?

Thanks in advance,

Kevin


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.