develooper Front page | perl.kiokudb | Postings from January 2010

Memory leak?

From:
Ask Bjørn Hansen
Date:
January 25, 2010 21:33
Subject:
Memory leak?
Message ID:
AF6F9FFF-787E-462C-972B-D40AA663D1C6@develooper.com
I setup a test script - http://gist.github.com/286557 - and an "empty" class http://gist.github.com/286558 and ... it leaks!  (Or at least the object that I $d->store() is left in live_objects past $scope going, uh, out of scope).

I'm using the MongoDB backend; but I tried short-circuiting the insert() method there to just return to make sure it wasn't doing anything with the data and I get the same result.

Any ideas?


 - ask

-- 
http://develooper.com/ - http://askask.com/





nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About