ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Shiv Shankar Dayal <shivshankar.dayal@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] Re: Memory consumption in new upload
Date: Sun, 18 Feb 2024 03:20:03 +0530	[thread overview]
Message-ID: <CALJ_jGSdhmZfybx+ZsU=SrDtn-8X2a1BL2O8TzYeCmeQ5ph77g@mail.gmail.com> (raw)
In-Reply-To: <CALJ_jGQD=aWRWXCA-zWD=+BfSWQZhf+Ye65fwFiYKwkf++vEpw@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 2871 bytes --]

I assume you would have created typescripts for those fonts. Can you please
add them to
ConTeXt distribution, at least for the popular fonts?

On Sun, Feb 18, 2024 at 3:12 AM Shiv Shankar Dayal <
shivshankar.dayal@gmail.com> wrote:

> The only change I made was that I started using a 9pt modern font than a
> 10 pt modern font.
>
> My document decreased from 580+ pages to 500 pages after that.
>
> About your document, I assume you had a lot of Graphics because text only
> 180MB is too high.
> I have only few diagrams and my file size is only 3MB.
>
> On Sun, Feb 18, 2024 at 2:13 AM Hans Hagen <j.hagen@xs4all.nl> wrote:
>
>> On 2/17/2024 6:17 PM, Shiv Shankar Dayal wrote:
>> > Thanks for new upload. I see that memory consumption is much less than
>> > previous version. So
>> > once again, thanks a lot.
>> >
>> > I am curious about what has changed in recent upload, that memory
>> > consumption is about 60% of earlier versions.
>> it's hard to tell what exact consumpiton is becaue for instance when lua
>> creates tables, they grow by factors two when then have to (maybe 5.5 is
>> a bit less consuming)
>>
>> on the one hand luametatex is more efficient than luatex due to all kind
>> of ímprovements' but some nodes are larger so that takes more memory,
>> which is only noticed when one has lots of text on a page (or keeps
>> boxes stuff around)
>>
>> anyway, not that much changed since the previous upload, so maybe you
>> just stay below a threshold
>>
>> I recently generated a 180MB document with 2500 fonts + metapost
>> outlines of them and that could bump mem usage (with empty cache) to 30
>> GB (less after fonts were cached) but normally we stay around 125 MB for
>> a document. Anyway, tex mem consumption can often be neglected compared
>> to other applications.
>>
>> Hans
>>
>>
>> -----------------------------------------------------------------
>>                                            Hans Hagen | PRAGMA ADE
>>                Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>>         tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
>> -----------------------------------------------------------------
>>
>>
>> ___________________________________________________________________________________
>> If your question is of interest to others as well, please add an entry to
>> the Wiki!
>>
>> maillist : ntg-context@ntg.nl /
>> https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
>> webpage  : https://www.pragma-ade.nl / https://context.aanhet.net
>> (mirror)
>> archive  : https://github.com/contextgarden/context
>> wiki     : https://wiki.contextgarden.net
>>
>> ___________________________________________________________________________________
>>
>
>
> --
> Respect,
> Shiv Shankar Dayal
>


-- 
Respect,
Shiv Shankar Dayal

[-- Attachment #1.2: Type: text/html, Size: 4501 bytes --]

[-- Attachment #2: Type: text/plain, Size: 511 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2024-02-17 21:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-17 17:17 [NTG-context] " Shiv Shankar Dayal
2024-02-17 20:39 ` [NTG-context] " Hans Hagen
2024-02-17 21:42   ` Shiv Shankar Dayal
2024-02-17 21:50     ` Shiv Shankar Dayal [this message]
2024-02-17 22:41       ` Hans Hagen

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='CALJ_jGSdhmZfybx+ZsU=SrDtn-8X2a1BL2O8TzYeCmeQ5ph77g@mail.gmail.com' \
    --to=shivshankar.dayal@gmail.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).