On Aug 14, 2:07 am, Simon King <simon.k...@uni-jena.de> wrote:
> #12215, #11521 and #12313 need review, #715 has a positive review but
> depends on #11521. Do these patches solve the memory leak you observed?

No they don't! I'm surprised. There is apparently yet something else
that keeps these objects alive. I've tried

import gc
#cm = sage.structure.element.get_coercion_model()
alg='default'
n,m=10,22
B=20
M=sage.misc.getusage.linux_memory_usage()
for j in range(3001):
    _=matrix(QQ,n,m,[randint(-B,B)/randint(1,B) for i in
range(n*m)]).echelon_form(alg)
    if (j%500) ==0 :
        #cm.reset_cache()
        gc.collect()
        Mn=sage.misc.getusage.linux_memory_usage()
        print Mn-M
        M=Mn

(clearing the coercion cache has no effect)

-- 
-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org



Reply via email to