# Revision history [back]

### sage does not free my symbolic ring variable in a while/for loop?

Hello,

I use sage 7.1. I have a problem of memory when I am using a variable with a symbolic expression in a while loop. It seems that sage does not free the memory at the end of the loop. For example with the programm:

while true: v1 = sqrt(2) if (v1 == 0): v1 = 0

The memory used by sage grows and it finishes to overflow. There is no problem if I replace sqrt(2) by 1 (or by a matrix with interger coefficient...)

Is there something I am doing wrong? Antoine

### sage does not How to free my the memory used to test an equality in symbolic ring variable in a while/for loop?ring?

Hello,

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

while true: v1 a = sqrt(2) while(true): if (v1 (a == 0): v1 = 0break

The memory used by sage grows and it finishes to overflow. my computer crashes if I wait too long. There is no problem if I replace sqrt(2) by 1 (or by a matrix with interger coefficient...)1...

Is there something I am doing wrong? Antoine

### How to free the memory used to test an equality 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 test. For example with the programm:

a = sqrt(2) 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

### How to free the memory used to test an equality 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 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

### How to free the memory used to test an equality 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 test. For example with the programm:

a = sqrt(2);
while(true):
if (a == 0):
breakbreak


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

### How to free the memory used to test an equality 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 test. For example with the programm:

a = sqrt(2);
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

### How to do I free the memory used to test an equality 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 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

### How do I free the memory used to test an equality 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

### How do Memory saturation when I free the memory used to test an equality equalities in symbolic ring?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