[pstricks] Running out of memory on Dia figure - and purpose of PStricks

John Frampton jframpto at lynx.dac.neu.edu
Fri Apr 2 03:11:00 CEST 2004


> I generated some PStricks code using Dia, and as the diagram grew more
> complex, latex hit a point where it failed to compile with this error:
> 
>   LaTeX Warning: Label `alert6_s4' multiply defined.
>    
>   )
>   Overfull \hbox (62.03575pt too wide) in paragraph at lines 35--35
>   [][]
>   [1] (project.toc) (project.lof
>   Overfull \vbox (8.33331pt too high) has occurred while \output is active
>   [1]) (project/rawdata/reston.tex
>    
>   Runaway definition?
>   ! TeX capacity exceeded, sorry [main memory size=350001].
>   <inserted text> ...addto at pscode {##1}}\def \coor (
>                                                     ##1){\pst@@getcoor {##1}\a...
>   l.5316 }
>           \endpspicture
>   Output written on project.dvi (2 pages, 7116 bytes).
> 
> So it seems TeX isn't able to do memory paging, and has a pretty
> limited amount of memory for processing pstricks code.
> 
It seems much more likely that there is an error in the code
(nonterminating recursion, or something of the sort) than that there is
a memory problem.

As usual, when there is a complicated error, you will have to try to
isolate the error by simplifying the code step by step.

- John Frampton



More information about the PSTricks mailing list