ASKSAGE: Sage Q&A Forum - Individual question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sun, 03 Apr 2016 00:19:24 -0500Memory saturation when I test equalities in symbolic ring.http://ask.sagemath.org/question/32920/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
Thu, 31 Mar 2016 03:03:41 -0500http://ask.sagemath.org/question/32920/memory-saturation-when-i-test-equalities-in-symbolic-ring/Comment by rws for <p>Hello,</p>
<p>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:</p>
<pre><code>a = sqrt(2)
while(true):
if (a == 0):
break
</code></pre>
<p>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...</p>
<p>Is there something I am doing wrong?
Antoine</p>
http://ask.sagemath.org/question/32920/memory-saturation-when-i-test-equalities-in-symbolic-ring/?comment=32971#post-id-32971Or before. I also cannot confirm with 7.2.beta2Sun, 03 Apr 2016 00:19:24 -0500http://ask.sagemath.org/question/32920/memory-saturation-when-i-test-equalities-in-symbolic-ring/?comment=32971#post-id-32971Comment by agrospel for <p>Hello,</p>
<p>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:</p>
<pre><code>a = sqrt(2)
while(true):
if (a == 0):
break
</code></pre>
<p>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...</p>
<p>Is there something I am doing wrong?
Antoine</p>
http://ask.sagemath.org/question/32920/memory-saturation-when-i-test-equalities-in-symbolic-ring/?comment=32936#post-id-32936Thank you vdelecroix,
So this is a bug on sage-7.1 which has been fix on sage-7.2.beta1Fri, 01 Apr 2016 03:39:13 -0500http://ask.sagemath.org/question/32920/memory-saturation-when-i-test-equalities-in-symbolic-ring/?comment=32936#post-id-32936Comment by vdelecroix for <p>Hello,</p>
<p>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:</p>
<pre><code>a = sqrt(2)
while(true):
if (a == 0):
break
</code></pre>
<p>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...</p>
<p>Is there something I am doing wrong?
Antoine</p>
http://ask.sagemath.org/question/32920/memory-saturation-when-i-test-equalities-in-symbolic-ring/?comment=32925#post-id-32925On sage-7.2.beta1 I am not able to reproduce this (but I do on sage-7.1).Thu, 31 Mar 2016 09:17:53 -0500http://ask.sagemath.org/question/32920/memory-saturation-when-i-test-equalities-in-symbolic-ring/?comment=32925#post-id-32925Comment by vdelecroix for <p>Hello,</p>
<p>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:</p>
<pre><code>a = sqrt(2)
while(true):
if (a == 0):
break
</code></pre>
<p>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...</p>
<p>Is there something I am doing wrong?
Antoine</p>
http://ask.sagemath.org/question/32920/memory-saturation-when-i-test-equalities-in-symbolic-ring/?comment=32926#post-id-32926Might be related to [#20268](http://trac.sagemath.org/ticket/20268).Thu, 31 Mar 2016 09:23:08 -0500http://ask.sagemath.org/question/32920/memory-saturation-when-i-test-equalities-in-symbolic-ring/?comment=32926#post-id-32926