# 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, Nuno

I 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/12020