ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: S Barmeier <severinbarmeier@googlemail.com>
To: ntg-context@ntg.nl
Subject: Re:  “bodyfont %s is defined (can better be done global)”
Date: Sun, 03 Jun 2012 09:47:38 +0900	[thread overview]
Message-ID: <4FCAB42A.2070809@googlemail.com> (raw)
In-Reply-To: <20120602181346.GC22936@phlegethon>

> ········································································
> <... />
> fonts           > bodyfont 42pt is defined (can better be done global)
> fonts           > bodyfont 50.4pt is defined (can better be done global)
> fonts           > bodyfont 40.32pt is defined (can better be done global)
> <... />
> ········································································
> 
> (\setupbodyfont doesn’t cause it.) It seems harmless but (a) I
> have a conditional font change that may repeat hundreds of times
> over the course of a document and it clutters my terminal, and
> (b) it’s a warning after all, so everything is not as it is
> supposed to be.  What’s it telling me, and why?
> 
> Philipp

I'd be interested as well. Maybe my document just grew too large, but I
am having quite major memory issues it seems. Trying to compile my
document takes almost 10min and half-ẁay through Thunderbird is telling
me that its scripts are timing out and asking whether I want to stop
them. (A few pages less and the document compiles in 15 secs.) I have
two 2GHz processors and 1GB ram. The only frequent error I get from
context is that the bodyfont can better be defined globally. Will this
help with memory issues? Is there anything else I should do differently?

Thanks,
Severin

mkiv lua stats  > used config file          -
selfautoparent:texmf/web2c/texmfcnf.lua
mkiv lua stats  > used cache path           -
/home/user/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606
mkiv lua stats  > resource resolver         - loadtime 0.320 seconds, 0
scans with scantime 0.000 seconds, 0 shared scans, 26 found files,
scanned paths:
mkiv lua stats  > stored bytecode data      - 303 modules, 65 tables,
368 chunks
mkiv lua stats  > cleaned up reserved nodes - 58 nodes, 9 lists of 633
mkiv lua stats  > node memory usage         - 3 glue, 11 penalty, 17
attribute, 398 glue_spec, 4 attribute_list
mkiv lua stats  > node list callback tasks  - 6 unique task lists, 30
instances (re)created, 10605 calls
mkiv lua stats  > h-node processing time    - 0.156 seconds including kernel
mkiv lua stats  > attribute processing time - 0.186 seconds front- and
backend
mkiv lua stats  > used backend              - pdf (backend for directly
generating pdf output)
mkiv lua stats  > loaded tex modules        - 1 requested, 1 found
(*-ruby), 0 missing
mkiv lua stats  > loaded patterns           - en::2
mkiv lua stats  > jobdata time              - 0.074 seconds saving,
0.012 seconds loading
mkiv lua stats  > callbacks                 - 20135 direct, 3123
indirect, 23258 total
mkiv lua stats  > randomizer                - resumed with value
0.98300544032036
mkiv lua stats  > lxml preparation time     - 0.000 seconds, 0 nodes, 15
lpath calls, 0 cached calls
mkiv lua stats  > interactive elements      - 0 references, 70 destinations
mkiv lua stats  > v-node processing time    - 1.227 seconds
mkiv lua stats  > positions                 - 691 collected, 687
regulars, 0 regions, 4 unresolved regions
mkiv lua stats  > result saved in file      - jfti.pdf
mkiv lua stats  > margin data               - 86 entries, 0 pending
mkiv lua stats  > loaded fonts              - 11 files:
lmmath-regular.otf genbasb.ttf genbasbi.ttf geni102.ttf genr102.ttf
adobesongstd-light.otf andika-r.ttf ipaexg.ttf ipaexm.ttf
kanjistrokeorders_v2.016.ttf unbatang.ttf
mkiv lua stats  > fonts load time           - 13.121 seconds
mkiv lua stats  > graphics processing time  - 0.017 seconds including
tex, 1 processed images
mkiv lua stats  > luatex banner             - this is luatex, version
beta-0.70.1-2011051918 (rev 4277)
mkiv lua stats  > control sequences         - 35261 of 65536 + 100000
mkiv lua stats  > current memory usage      - 529 MB (ctx: 542 MB)
mkiv lua stats  > runtime                   - 168.172 seconds, 59
processed pages, 60 shipped pages, 0.357 pages/second

system          | total runtime: 514.036
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2012-06-03  0:47 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-02 18:13 Philipp Gesang
2012-06-03  0:47 ` S Barmeier [this message]
2012-06-03  8:31 ` Wolfgang Schuster
2012-06-03 10:01   ` Philipp Gesang
2012-06-03 13:58     ` Wolfgang Schuster
2012-06-03 14:27       ` Philipp Gesang
2012-06-03 15:12         ` Wolfgang Schuster
2012-06-03 20:30           ` Philipp Gesang
2012-06-03 17:28         ` Hans Hagen
2012-06-03 20:20           ` Philipp Gesang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FCAB42A.2070809@googlemail.com \
    --to=severinbarmeier@googlemail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).