Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pushtree memory leak #2

Open
uogbuji opened this issue May 5, 2011 · 0 comments
Open

pushtree memory leak #2

uogbuji opened this issue May 5, 2011 · 0 comments
Assignees

Comments

@uogbuji
Copy link
Contributor

uogbuji commented May 5, 2011

As reported by Mark Baker originally:

I observed a memory leak with a pushtree based parser I was writing, and reduced the problem [with a test program]. After letting it run for a little while in pdb, objgraph showed this;

(Pdb) objgraph.show_most_common_types(limit=5)
text 1476636
element 870756
comment 465962
tuple 12205
function 3119

from amara.pushtree import pushtree

def blah(r):
pass

data = open("bigfile.xml","r")
pushtree(data,'RECORD',blah)

For more info please see: https://foundry.zepheira.com/issues/1294

@ghost ghost assigned distobj May 5, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants