ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sun, 03 Apr 2016 07:19:24 +0200Memory saturation when I test equalities in symbolic ring.https://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 10:03:41 +0200https://ask.sagemath.org/question/32920/memory-saturation-when-i-test-equalities-in-symbolic-ring/Comment 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>
https://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 16:17:53 +0200https://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>
https://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 16:23:08 +0200https://ask.sagemath.org/question/32920/memory-saturation-when-i-test-equalities-in-symbolic-ring/?comment=32926#post-id-32926Comment 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>
https://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 10:39:13 +0200https://ask.sagemath.org/question/32920/memory-saturation-when-i-test-equalities-in-symbolic-ring/?comment=32936#post-id-32936Comment 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>
https://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 07:19:24 +0200https://ask.sagemath.org/question/32920/memory-saturation-when-i-test-equalities-in-symbolic-ring/?comment=32971#post-id-32971