Helloooooooo everybody !!!

There is a very ugly memory leak in Sage's graphs, and I have no idea of
how it should be hunted. It is (unfortunately) very easy to produce :

sage: get_memory_usage()
956.87890625
sage: graphs.CompleteGraph(700)
Complete graph: Graph on 700 vertices
sage: get_memory_usage()
1087.76953125
sage: import gc
sage: gc.collect()
0
sage: get_memory_usage()
1087.76953125

If anybody could help me with that, or give me hints of how I could track
this.... __dealloc__ seems to be called wherever it is expected to be
called, everything that requires a call to sage_free appears to be freed...
I don't even know what remains in memory that should be deallocated.

Thank you very much if you can help me :-)

Nathann

-- 
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/groups/opt_out.


Reply via email to