[pstricks] Memory problems

Michael Sharpe msharpe at ucsd.edu
Tue May 25 23:18:32 CEST 2010

On May 25, 2010, at 12:59 PM, Poul Riis wrote:

> When compiling the file below I get the following error message:
> Runaway text?
> "  tx at Dict begin STP newpath 0.8 SLW 0 0.804 0  setrgbcolor  [ 3419 x\ETC.
> ! TeX capacity exceeded, sorry [main memory size=1500000].
> \pst at code ... .5 add exch itransform Dot } repeat

On MacTeX, the default word space is 3000000, and this was not exceeded. 

One interesting thing I noticed. Your original used 1908232 words. Changing \psdots to \psdot used 1481339 words, and \pscircle used 919281 words (and was very much faster). The memory size can be reduced a bit by changing all the \n to \i as the \multido variable.

Nice design, by the way.


More information about the PSTricks mailing list