[OS X TeX] Memory size exceeded
Ross Moore
ross.moore at mq.edu.au
Tue Oct 27 20:51:22 CET 2020
Hi David, and Luis
On 28 Oct 2020, at 6:18 am, Luis Sequeira <lfsequeira at gmail.com<mailto:lfsequeira at gmail.com>> wrote:
It may actually be the case that the memory was exceeded, though I haven't come across this in several years.
But it may also be the result of some obscure typesetting error.
This is by far the most likely, …
… but not necessarily so obscure.
It is quite easy to use a macro (control-sequence name) incorrectly, resulting in an expansion loop.
Because it is then unstoppable, memory will get filled up, resulting in the “capacity exceeded” error.
Any Computing 101 student will know that an infinite loop is the most likely result from arbitrary
code processing. This is likely what is happening here.
In particular, \tikzexternalize{…} requires an argument.
So whatever token is coming next will be taken as that argument,
and most likely this totally throws out the intended document processing.
Check the documentation on what is required with use of this command.
I assume you have your work divided into several files (presumably one per chapter of the book?).
Are you able to typeset if you do some chapters separately using \includeonly?
If you are able to typeset everything in pieces this way, then it suggests it is "actual" capacity exceeded. Otherwise, which chapter errs out?
There is some arcane way to grant TeX more memory, if necessary. I'd have to look it up.
That’s highly unlikely these days.
Memory is cheap, so the TeX default settings far exceed what most jobs would require.
Hope this helps.
Ross
LS
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq<https://protect-au.mimecast.com/s/nxXxCXLW6Di6jYqlU7jm69?domain=tex.ac.uk>
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/<https://protect-au.mimecast.com/s/715TCYW86Es0mxNKhjq6_g?domain=sites.esm.psu.edu>
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx<https://protect-au.mimecast.com/s/TbggCZY146smAND1UM6np6?domain=dir.gmane.org>
https://email.esm.psu.edu/pipermail/macosx-tex/<https://protect-au.mimecast.com/s/cMx3C1WLjwsjxYkrtAspNn?domain=email.esm.psu.edu>
TeX on Mac OS X Website: http://mactex-wiki.tug.org/<https://protect-au.mimecast.com/s/zGB-C2xMRkUxWwRLhpoGeQ?domain=mactex-wiki.tug.org>
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex<https://protect-au.mimecast.com/s/ChT5C3QNl1S8oQGju9hH50?domain=email.esm.psu.edu>
Dr Ross Moore
Department of Mathematics and Statistics
12 Wally’s Walk, Level 7, Room 734
Macquarie University, NSW 2109, Australia
T: +61 2 9850 8955 | F: +61 2 9850 8114
M:+61 407 288 255 | E: ross.moore at mq.edu.au<mailto:ross.moore at mq.edu.au>
http://www.maths.mq.edu.au
[cid:image001.png at 01D030BE.D37A46F0]
CRICOS Provider Number 00002J. Think before you print.
Please consider the environment before printing this email.
This message is intended for the addressee named and may
contain confidential information. If you are not the intended
recipient, please delete it and notify the sender. Views expressed
in this message are those of the individual sender, and are not
necessarily the views of Macquarie University. <http://mq.edu.au/>
<http://mq.edu.au/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/macostex-archives/attachments/20201027/96460044/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 4605 bytes
Desc: image001.png
URL: <https://tug.org/pipermail/macostex-archives/attachments/20201027/96460044/attachment-0001.png>
-------------- next part --------------
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
More information about the macostex-archives
mailing list.