[luatex] Node usage statistics

Hans Hagen pragma at wxs.nl
Wed Feb 11 16:33:56 CET 2015


On 2/11/2015 3:47 PM, Patrick Gundlach wrote:
>>
>>
>> yes, so for instance you can ask for them just before or after a shipout (context has some mechanisms for tracing usage over a whole document but i must admit that i seldom use that as node mem usage is normally quite ok unless one leaks nodes)
>
> I have few points where I leak nodes, and I'd like to find out how much I save from removing the leak... Some VPS servers have very limited memory.

Keep in mind that some nodes are cached, like attribute nodes and glue 
(spec) nodes or relate to persistent data (can be boxes of glue 
registers). So one never gets zero usage.

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the luatex mailing list