Using TL 2015 on Linux.
I have a latex file which includes graphics, all in pdf format. All the images are included using the call
There is a total of 1860 such images, all in pdf format.
When I compile this file using lualatex, at some stage, when it gets to image number 1016, it fails with the error
Too many open files. Compiling the same file with pdflatex gives no error !
Is there a limitation on how images one can include in a latex file when using lualatex or is this a bug? It looks like lualatex includegraphics version is not closing file handles when loading images and running out of file handles. This is on Linux mint 7.2.
Since the file is large. I have put the file and the images it loads using
\includegraphics in one zip file (80 MB). The link is at the bottom of this post.
To reproduce, please download the zip file, unzip it using the command
unzip file.zip and it will create a new folder called
lualatex_error/ and inside this folder there is the one file
report.tex and the folder that includes all the images. Then typing
will give the error
lualatex: ./rules/1016.pdf: Too many open files
This is LuaTeX, Version beta-0.80.0 (TeX Live 2015) (rev 5238) (format=lualatex 2015.7.9) 31 JUL 2015 12:28 restricted \write18 enabled. lualatex_error>which lualatex /usr/local/texlive/2015/bin/x86_64-linux/lualatex
The zip file is in this folder (This is a link to the folder where the zip file is in. Not a direct link to the zip file). 80 MB size.
Any other information I can give please let me know.