You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for n in range(10,100): a=ModularSymbols(n,sign=1).decomposition(); print n, get_memory_usage()
causes (among other things) the following:
==5107== 90,320 bytes in 11,290 blocks are definitely lost in loss record 2,811 of 2,944
==5107== at 0x4A05809: malloc (vg_replace_malloc.c:149)
==5107== by 0x94A2697: __gmpz_init (in /tmp/Work2/sage-2.8.3.rc3/local/lib/libgmp.so.3.4.1)
==5107== by 0x20A67143: __pyx_f_21matrix_integer_sparse_allocate_mpz_vector (matrix_integer_sparse.c:1202)
==5107== by 0x20A684BF: __pyx_f_21matrix_integer_sparse_add_mpz_vector_init (matrix_integer_sparse.c:1315)
==5107== by 0x20A6D054: __pyx_f_21matrix_integer_sparse_21Matrix_integer_sparse__add_c_impl (matrix_integer_sparse.c:6549
)
==5107== by 0xDFE08FD: __pyx_f_7element_13ModuleElement__add_c (element.c:3986)
==5107== by 0xDFCF2E8: __pyx_f_7element_13ModuleElement___add__ (element.c:3888)
==5107== by 0x41596C: binary_op1 (abstract.c:398)
==5107== by 0x416ADB: PyNumber_InPlaceAdd (abstract.c:744)
==5107== by 0x27D10EBA: __pyx_f_4misc_matrix_rational_echelon_form_multimodular (misc.c:12816)
==5107== by 0x4156A2: PyObject_Call (abstract.c:1860)
==5107== by 0x47DB71: PyEval_CallObjectWithKeywords (ceval.c:3433)
Hello folks,
causes (among other things) the following:
Cheers,
Tagged for 2.8.4
Michael
Component: memleak
Issue created by migration from https://trac.sagemath.org/ticket/564
The text was updated successfully, but these errors were encountered: