Memory saturation when I test equalities in symbolic ring.

asked 2016-03-31 03:03:41 -0500

agrospel gravatar image

updated 2016-03-31 08:15:57 -0500


I use sage 7.1 on a debian computer. I have a problem of memory when I test an equality in SR. It seems that sage does not free the memory used at the end of the test. For example with the programm:

a = sqrt(2)
    if (a == 0):

The memory used by sage grows and my computer crashes if I wait too long. There is no problem if I replace sqrt(2) by 1...

Is there something I am doing wrong? Antoine

edit retag flag offensive close merge delete


On sage-7.2.beta1 I am not able to reproduce this (but I do on sage-7.1).

vdelecroix gravatar imagevdelecroix ( 2016-03-31 09:17:53 -0500 )edit

Might be related to #20268.

vdelecroix gravatar imagevdelecroix ( 2016-03-31 09:23:08 -0500 )edit

Thank you vdelecroix,

So this is a bug on sage-7.1 which has been fix on sage-7.2.beta1

agrospel gravatar imageagrospel ( 2016-04-01 03:39:13 -0500 )edit

Or before. I also cannot confirm with 7.2.beta2

rws gravatar imagerws ( 2016-04-03 00:19:24 -0500 )edit