I'll admit this is a convoluted example, but I like drawing with TikZ and LaTeX and this particular issue has come up for me more than once.
The minimal working example takes a few files, but in a nutshell - a PDF is produced at each compile with the current filesize in it. After a set number of includes some viewers (evince,okular,acroread*) fail to display the deeply nested images, while others segfault (xpdf) and only one (gs) shows the full image correctly.
*Note that acroread won't fail on the example below, but will if you keep cranking up the iterations.
first.tex
\documentclass{standalone}\begin{document}start\end{document}
next.tex
\documentclass{standalone}
\usepackage{graphicx}
\IfFileExists{\jobname.pdf}
{\edef\Size{\pdffilesize{\jobname.pdf}}}
{\def\Size{0}}
\renewcommand{\arraystretch}{0}
\setlength\fboxsep{1pt}
\newcommand{\X}{\includegraphics{first.pdf}}
\begin{document}%
\begin{tabular}{@{}l@{}}%
\framebox{\Size} \\ \X
\end{tabular}
\end{document}
Makefile
all:
make first
make block
make block
make block
evince next.pdf
gs next.pdf
first:
pdflatex first.tex
next:
pdflatex next.tex
cp next.pdf first.pdf
block:
make next
make next
make next
make next
make next
make next
make next
make next
make next
make next
Examples (gs vs evince)

Questions:
Why can't the viewers display the deeply nested images?
By running
pdf2ps -> ps2pdfthe problem is fixed, but is there any risk for more complicated images being mangled (i.e. using TikZ or fonts with ConTeX)?
\documentclass[preview]{standalone}infirst.tex? – percusse Oct 8 '12 at 22:28make firstsupposed to do? How do you run that Makefile? Withmake allI getmissing separator. – egreg Oct 8 '12 at 22:47Missing separator. – egreg Oct 8 '12 at 23:14