29.05.2014 Views

The history of luaTEX 2006–2009 / v 0.50 - Pragma ADE

The history of luaTEX 2006–2009 / v 0.50 - Pragma ADE

The history of luaTEX 2006–2009 / v 0.50 - Pragma ADE

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

vlist<br />

min:5, max:568, pages:326<br />

If node memory usage stays high, i.e. is not reclaimed, this can be an indication <strong>of</strong> a memory<br />

leak. In the December 2007 beta version there is such a leak in math subformulas,<br />

something that will be resolved when math node processing is opened up. <strong>The</strong> current<br />

MkIV code cleans up most <strong>of</strong> its temporary data. We do so, because it permits us to keep<br />

an eye on unwanted memory leaks. When writing this chapter, some <strong>of</strong> the peaks in the<br />

graphics coincided with peaks in the runtime per page, which is no surprise.<br />

If you want to run such tests yourself, you need to load a module at startup:<br />

\usemodule[timing]<br />

<strong>The</strong> graphics can be generated with:<br />

\def\ShowUsage {optional filename}<br />

\def\ShowNamedUsage {optional filename}{red graphic}{blue graphic}<br />

\def\ShowMemoryUsage{optional filename}<br />

\def\ShowNodeUsage {optional filename}<br />

(This interface may change.)<br />

Collecting garbage 161

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!