Thanks to everyone's help.

Update:

It is fixed now, thanks to Zauguin fix:

https://github.com/latex3/luaotfload/commit/8de37647676311d8fdd6825bd39690e97b6d9677

Changed the luaotfload-features.lua on my TL 2021 and changed it as shown
and now the same file finished compiling in about 40 minutes!

regards,
--Nasser

On 3/18/2022 3:47 AM, luigi scarso wrote:
On Fri, Mar 18, 2022 at 1:12 AM Nasser M. Abbasi <[email protected]> wrote:

On 3/17/2022 2:52 PM, Patrick Gundlach wrote:
Hello Nasser,

do you still have this issue?


Yes.  It slows down as the file size increased.

lualatex is running. Not hanged or anything. But very slow.

PID USER  PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
21615 me  20   0  832316 816708   6592 R  99.7  1.6 392:40.05 lualatex

The file has 9,000 problems (each on its own subsection, each problem
is read from separate latex file in separate sub folder).

When I had about 6,000 problems, it was fast. About 1-2 hrs to compile.

After adding more problems, I see the slow down.

I see the output going to the terminal OK as we speak. But it takes
about 20-30 seconds to see one line printed after the other on
the terminal. Very slow.

Initially the printed lines were coming to the screen
very fast (scrolling) but then the line scrolling becomes slower and
slower.

At this rate it will take 10 months to compile this one file.

The Latex file does \subimport to load individual latex file for each
problem. There are almost 9,000 \subimport in the latex file.

When compiled to PDF it should be about 50,000 pdf pages.

I can make a zip file with everything and the command I use to compile
if someone wants to see for themselves. But it will be large zip.


I can check it , if you want.



Reply via email to