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.Wed, 24 Sep 2014 14:01:20 -0500Insufficient RAM for computing newformshttp://ask.sagemath.org/question/7711/insufficient-ram-for-computing-newforms/In a Mac OS X, with a 2.5Ghz processor and 4Gb RAM I ran the following lines in Sage:
D = DirichletGroup(20)
g = D[7].extend(1600) # order 4 character
N = Newforms(g,2,names='a')
In two hours the 4Gb were full and it started writing to swap. Is it normal that 4Gb RAM is not enough to perform the above computation? I'm new to Sage (and to the forum) but since Sage tells me that the space
S = ModularSymbols(g,2,sign=1).cuspidal_subspace().new_submodule()
has dim 34 I was expecting it to be within the powers of my computer. Thanks, NunoSat, 25 Sep 2010 08:36:20 -0500http://ask.sagemath.org/question/7711/insufficient-ram-for-computing-newforms/Comment by William Stein for <p>In a Mac OS X, with a 2.5Ghz processor and 4Gb RAM I ran the following lines in Sage:</p>
<pre><code>D = DirichletGroup(20)
g = D[7].extend(1600) # order 4 character
N = Newforms(g,2,names='a')
</code></pre>
<p>In two hours the 4Gb were full and it started writing to swap. Is it normal that 4Gb RAM is not enough to perform the above computation? I'm new to Sage (and to the forum) but since Sage tells me that the space</p>
<pre><code>S = ModularSymbols(g,2,sign=1).cuspidal_subspace().new_submodule()
</code></pre>
<p>has dim 34 I was expecting it to be within the powers of my computer. Thanks, Nuno</p>
http://ask.sagemath.org/question/7711/insufficient-ram-for-computing-newforms/?comment=20912#post-id-20912I looked into this by typing "S=ModularSymbols(g,2,sign=1).cuspidal_subspace().new_submodule()" into sage-4.7.2 and was surprised that it completely crashes with a major error in the new_submodule computation. I'm opening a blocker ticket about this. Sorry I didn't notice your post by the way, but I hadn't been checking ask.sagemath enough lately. If S could be constructed, I would suggest perhaps directly computing q-expansions by decomposing S itself -- there is some overhead in the Newforms command that you can avoid. http://trac.sagemath.org/sage_trac/ticket/12020Sun, 13 Nov 2011 07:31:31 -0600http://ask.sagemath.org/question/7711/insufficient-ram-for-computing-newforms/?comment=20912#post-id-20912Answer by John Cremona for <p>In a Mac OS X, with a 2.5Ghz processor and 4Gb RAM I ran the following lines in Sage:</p>
<pre><code>D = DirichletGroup(20)
g = D[7].extend(1600) # order 4 character
N = Newforms(g,2,names='a')
</code></pre>
<p>In two hours the 4Gb were full and it started writing to swap. Is it normal that 4Gb RAM is not enough to perform the above computation? I'm new to Sage (and to the forum) but since Sage tells me that the space</p>
<pre><code>S = ModularSymbols(g,2,sign=1).cuspidal_subspace().new_submodule()
</code></pre>
<p>has dim 34 I was expecting it to be within the powers of my computer. Thanks, Nuno</p>
http://ask.sagemath.org/question/7711/insufficient-ram-for-computing-newforms/?answer=24239#post-id-24239This only took a few minutes in 6.4.beta3:
sage: version()
'Sage Version 6.4.beta3, Release Date: 2014-09-10'
sage: D = DirichletGroup(20)
sage: g = D[7].extend(1600)
sage: S = ModularSymbols(g,2,sign=1).cuspidal_subspace().new_submodule()
sage: S
Modular Symbols subspace of dimension 34 of Modular Symbols space of dimension 240 and level 1600, weight 2, character [-1, 1, -zeta4], sign 1, over Cyclotomic Field of order 4 and degree 2
Mon, 22 Sep 2014 03:16:58 -0500http://ask.sagemath.org/question/7711/insufficient-ram-for-computing-newforms/?answer=24239#post-id-24239Answer by balduin for <p>In a Mac OS X, with a 2.5Ghz processor and 4Gb RAM I ran the following lines in Sage:</p>
<pre><code>D = DirichletGroup(20)
g = D[7].extend(1600) # order 4 character
N = Newforms(g,2,names='a')
</code></pre>
<p>In two hours the 4Gb were full and it started writing to swap. Is it normal that 4Gb RAM is not enough to perform the above computation? I'm new to Sage (and to the forum) but since Sage tells me that the space</p>
<pre><code>S = ModularSymbols(g,2,sign=1).cuspidal_subspace().new_submodule()
</code></pre>
<p>has dim 34 I was expecting it to be within the powers of my computer. Thanks, Nuno</p>
http://ask.sagemath.org/question/7711/insufficient-ram-for-computing-newforms/?answer=24276#post-id-24276In Sage 6.1 on MacOS X in a Fedora 20 VM on VirtualBox.
Model: iMac
Processor: Intel Core i7 (QuadCore)
RAM: 16 GB.
The VM needs a lot of CPU-Time and the use of RAM increases constantly.
Start: 1.9 GB RAM
After: 30 Min. 2.3 GB RAM
After: 60 Min. 2.6 GB RAM
I cancelled the calculation after 60 Minutes.Wed, 24 Sep 2014 14:01:20 -0500http://ask.sagemath.org/question/7711/insufficient-ram-for-computing-newforms/?answer=24276#post-id-24276