# Memory saturation when I test equalities in symbolic ring.

Hello,

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)
while(true):
if (a == 0):
break
```

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

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

Might be related to #20268.

Thank you vdelecroix,

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

Or before. I also cannot confirm with 7.2.beta2