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.Thu, 22 Nov 2012 04:32:57 +0100How to reset memory limitshttps://ask.sagemath.org/question/9554/how-to-reset-memory-limits/Hi everyone: I am trying to compute the determinant of an 11-by-11 complex matrix on SAGE v5.4 notebook() on a 2010 Mac 4G RAM etc running OS X v10.6.8. I would have thought that that would not be a big deal, but after 30 seconds or so I get a screed of traceback stuff ending with:
"... RuntimeError: ECL says: Memory limit reached. Please jump to an outer pointer, quit program and enlarge the memory limits before executing the program again."
There are no other programs open on the Mac, and the only other things in SAGE memory are 10 other matrices of the same size. In addition I have been having similarly limiting behaviour in all my matrix calcs, also on an HP laptop (using Sage v5.4 on Virtual Machine etc).
Could someone please tell me where I might be going wrong?
Many thanksWed, 21 Nov 2012 04:29:17 +0100https://ask.sagemath.org/question/9554/how-to-reset-memory-limits/Comment by DSM for <p>Hi everyone: I am trying to compute the determinant of an 11-by-11 complex matrix on SAGE v5.4 notebook() on a 2010 Mac 4G RAM etc running OS X v10.6.8. I would have thought that that would not be a big deal, but after 30 seconds or so I get a screed of traceback stuff ending with:</p>
<p>"... RuntimeError: ECL says: Memory limit reached. Please jump to an outer pointer, quit program and enlarge the memory limits before executing the program again."</p>
<p>There are no other programs open on the Mac, and the only other things in SAGE memory are 10 other matrices of the same size. In addition I have been having similarly limiting behaviour in all my matrix calcs, also on an HP laptop (using Sage v5.4 on Virtual Machine etc).</p>
<p>Could someone please tell me where I might be going wrong?</p>
<p>Many thanks</p>
https://ask.sagemath.org/question/9554/how-to-reset-memory-limits/?comment=18681#post-id-18681Will a numerical answer suffice, or is your complex matrix symbolic?Wed, 21 Nov 2012 07:39:32 +0100https://ask.sagemath.org/question/9554/how-to-reset-memory-limits/?comment=18681#post-id-18681Comment by GaryMak for <p>Hi everyone: I am trying to compute the determinant of an 11-by-11 complex matrix on SAGE v5.4 notebook() on a 2010 Mac 4G RAM etc running OS X v10.6.8. I would have thought that that would not be a big deal, but after 30 seconds or so I get a screed of traceback stuff ending with:</p>
<p>"... RuntimeError: ECL says: Memory limit reached. Please jump to an outer pointer, quit program and enlarge the memory limits before executing the program again."</p>
<p>There are no other programs open on the Mac, and the only other things in SAGE memory are 10 other matrices of the same size. In addition I have been having similarly limiting behaviour in all my matrix calcs, also on an HP laptop (using Sage v5.4 on Virtual Machine etc).</p>
<p>Could someone please tell me where I might be going wrong?</p>
<p>Many thanks</p>
https://ask.sagemath.org/question/9554/how-to-reset-memory-limits/?comment=18680#post-id-18680Good point - I am actually using things of the form 2pi/3 etc so I don't know what that prompts internally ...Wed, 21 Nov 2012 07:56:55 +0100https://ask.sagemath.org/question/9554/how-to-reset-memory-limits/?comment=18680#post-id-18680Comment by GaryMak for <p>Hi everyone: I am trying to compute the determinant of an 11-by-11 complex matrix on SAGE v5.4 notebook() on a 2010 Mac 4G RAM etc running OS X v10.6.8. I would have thought that that would not be a big deal, but after 30 seconds or so I get a screed of traceback stuff ending with:</p>
<p>"... RuntimeError: ECL says: Memory limit reached. Please jump to an outer pointer, quit program and enlarge the memory limits before executing the program again."</p>
<p>There are no other programs open on the Mac, and the only other things in SAGE memory are 10 other matrices of the same size. In addition I have been having similarly limiting behaviour in all my matrix calcs, also on an HP laptop (using Sage v5.4 on Virtual Machine etc).</p>
<p>Could someone please tell me where I might be going wrong?</p>
<p>Many thanks</p>
https://ask.sagemath.org/question/9554/how-to-reset-memory-limits/?comment=18673#post-id-18673Yes of course you are right - it is almost instantaneous over CDF. Thanks and apologies for the dumb question.Thu, 22 Nov 2012 04:32:57 +0100https://ask.sagemath.org/question/9554/how-to-reset-memory-limits/?comment=18673#post-id-18673Comment by GaryMak for <p>Hi everyone: I am trying to compute the determinant of an 11-by-11 complex matrix on SAGE v5.4 notebook() on a 2010 Mac 4G RAM etc running OS X v10.6.8. I would have thought that that would not be a big deal, but after 30 seconds or so I get a screed of traceback stuff ending with:</p>
<p>"... RuntimeError: ECL says: Memory limit reached. Please jump to an outer pointer, quit program and enlarge the memory limits before executing the program again."</p>
<p>There are no other programs open on the Mac, and the only other things in SAGE memory are 10 other matrices of the same size. In addition I have been having similarly limiting behaviour in all my matrix calcs, also on an HP laptop (using Sage v5.4 on Virtual Machine etc).</p>
<p>Could someone please tell me where I might be going wrong?</p>
<p>Many thanks</p>
https://ask.sagemath.org/question/9554/how-to-reset-memory-limits/?comment=18677#post-id-18677yes but presumably the algorithm does sums within the complex numbers as it goes (ie there is only one or a few terms in a sense at any given time) - because notwithstanding the fact I have kept pi symbolic it nevertheless is within the ring of matrices over the complex numbers .... or am I missing the point?Wed, 21 Nov 2012 09:32:24 +0100https://ask.sagemath.org/question/9554/how-to-reset-memory-limits/?comment=18677#post-id-18677Comment by benjaminfjones for <p>Hi everyone: I am trying to compute the determinant of an 11-by-11 complex matrix on SAGE v5.4 notebook() on a 2010 Mac 4G RAM etc running OS X v10.6.8. I would have thought that that would not be a big deal, but after 30 seconds or so I get a screed of traceback stuff ending with:</p>
<p>"... RuntimeError: ECL says: Memory limit reached. Please jump to an outer pointer, quit program and enlarge the memory limits before executing the program again."</p>
<p>There are no other programs open on the Mac, and the only other things in SAGE memory are 10 other matrices of the same size. In addition I have been having similarly limiting behaviour in all my matrix calcs, also on an HP laptop (using Sage v5.4 on Virtual Machine etc).</p>
<p>Could someone please tell me where I might be going wrong?</p>
<p>Many thanks</p>
https://ask.sagemath.org/question/9554/how-to-reset-memory-limits/?comment=18678#post-id-18678According to this (http://trac.sagemath.org/sage_trac/ticket/6772) there shouldn't be an memory limit, besides the physical one. Back of the envelope suggests that you'll have on the order of 40 million terms there.Wed, 21 Nov 2012 09:12:56 +0100https://ask.sagemath.org/question/9554/how-to-reset-memory-limits/?comment=18678#post-id-18678Comment by kcrisman for <p>Hi everyone: I am trying to compute the determinant of an 11-by-11 complex matrix on SAGE v5.4 notebook() on a 2010 Mac 4G RAM etc running OS X v10.6.8. I would have thought that that would not be a big deal, but after 30 seconds or so I get a screed of traceback stuff ending with:</p>
<p>"... RuntimeError: ECL says: Memory limit reached. Please jump to an outer pointer, quit program and enlarge the memory limits before executing the program again."</p>
<p>There are no other programs open on the Mac, and the only other things in SAGE memory are 10 other matrices of the same size. In addition I have been having similarly limiting behaviour in all my matrix calcs, also on an HP laptop (using Sage v5.4 on Virtual Machine etc).</p>
<p>Could someone please tell me where I might be going wrong?</p>
<p>Many thanks</p>
https://ask.sagemath.org/question/9554/how-to-reset-memory-limits/?comment=18675#post-id-18675No, if you actually have a symbolic `pi` then you should not expect this to happen. Maxima also does not expand automatically. So I guess this is not that surprising. Maybe you should just make the whole matrix over CDF?Wed, 21 Nov 2012 10:10:25 +0100https://ask.sagemath.org/question/9554/how-to-reset-memory-limits/?comment=18675#post-id-18675