Memory saturation when I test equalities in symbolic ring.

asked 2016-03-31 10:03:41 +0200

agrospel gravatar image

updated 2016-03-31 15:15:57 +0200


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 16:17:53 +0200 )edit

Might be related to #20268.

vdelecroix gravatar imagevdelecroix ( 2016-03-31 16:23:08 +0200 )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 10:39:13 +0200 )edit

Or before. I also cannot confirm with 7.2.beta2

rws gravatar imagerws ( 2016-04-03 07:19:24 +0200 )edit