On Monday, July 13, 2015 at 10:51:09 AM UTC+2, Nils Bruin wrote:
>
>
> so I'd think there's a leak in constructing univar_pd. My guess would be a 
> cached routine that shouldn't be cached.
>
A little bisection shows that the leak is caused by calling "eigenvalues". 

However

L=[c for c in gc.get_objects() if type(c) is 
sage.rings.polynomial.polynomial_compiled.univar_pd]
objgraph.show_backrefs(L[1000],filename="test.png")

seems to show that the only reference that's findable by python's gc is the 
one from L! So the leak in this case might be due to a refcounting error 
(or a reference to a python object held by something outside the scope of 
the python memory manager). Or I've overlooked some subtle issue.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to