[pstricks] Memory problems
Poul Riis
Poul.Riis at skolekom.dk
Tue May 25 21:59:37 CEST 2010
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
l.35 ...r=Green3](!\n\space xfroe \n\space yfroe)}
Is it possible to increase the memory size?
Poul Riis
\documentclass[11pt]{article}
\usepackage[dvips,x11names]{xcolor}
\usepackage{multido}
\usepackage{pstricks-add}
\usepackage{geometry}
\usepackage{graphicx}
\begin{document}
\begin{figure}[ht!]
\centering%
\psset{unit=1.5cm}%
\begin{pspicture}(-6,-6)(6,6)%
\SpecialCoor%
\pstVerb{%
/phigylden 137.5078 def%
/storephi 5 sqrt 1 add 2 div def%
/antalfroe 4500 def%
/radius 5 def%
/kk antalfroe radius div radius div def%
/froetaethed antalfroe radius div radius div 3.141593 div def%
/xfroe {kk div dup kk mul phigylden mul cos exch sqrt mul} def%
/yfroe {kk div dup kk mul phigylden mul sin exch sqrt mul} def%
/fib {dup dup 1 eq exch 0 eq or not {dup 1 sub fib exch 2 sub fib add} if}
def%
/omegaA antalfroe 12 fib div storephi 12 exp div 360 mul def%
/omegaB antalfroe 11 fib div storephi 11 exp div 360 mul neg def%
/dphiA 360 12 fib div def%
/dphiB 360 11 fib div def}%
\multido{\n=8+1}{9}{\psdots*[dotsize=0.075,dotstyle=*,linecolor=Green3](!\n\space
xfroe \n\space yfroe)}%
\multido{\n=17+1}{21}{\psdots*[dotsize=0.075,dotstyle=*,linecolor=VioletRed1](!\n\space
xfroe \n\space yfroe)}%
\multido{\n=38+1}{53}{\psdots*[dotsize=0.075,dotstyle=*,linecolor=Green3](!\n\space
xfroe \n\space yfroe)}%
\multido{\n=91+1}{135}{\psdots*[dotsize=0.075,dotstyle=*,linecolor=VioletRed1](!\n\space
xfroe \n\space yfroe)}%
\multido{\n=226+1}{344}{\psdots*[dotsize=0.075,dotstyle=*,linecolor=Green3](!\n\space
xfroe \n\space yfroe)}%
\multido{\n=570+1}{890}{\psdots*[dotsize=0.075,dotstyle=*,linecolor=VioletRed1](!\n\space
xfroe \n\space yfroe)}%
\multido{\n=1460+1}{2311}{\psdots*[dotsize=0.075,dotstyle=*,linecolor=Green3](!\n\space
xfroe \n\space yfroe)}% This line gives
memory-problems!!!!!!!!!!!!!!!!!!!!!!
\multido{\n=3771+1}{729}{\psdots*[dotsize=0.075,dotstyle=*,linecolor=VioletRed1](!\n\space
xfroe \n\space yfroe)}%
\NormalCoor
\end{pspicture}
\end{figure}
\end{document}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20100525/7124f007/attachment.html>
More information about the PSTricks
mailing list