I've recently made my project buildable under LuaLaTeX.

This is a bibliography database project which uses biblatex and biber to compile the database to produce something about 66-paged pdf file.

Now I'm experience some problems with memory usage: while I was using pdflatex memory usage was about 100M which is affordable, but with LuaLaTeX memory usage grows too fast (for the last time I've killed lualatex.exe when it was using 2G of RAM.

Here is the some suspicious output:

can't allocate 402653184 bytes

I wonder if this is OK and WHY is this OK.

I can provide sources, if this is going to help.

UPDATE: the problem may be with polyglossia, since I use babel under pdflatex and polyglossia undex lualatex.

UPDATE: I was able to compile my project with biblatex + polyglossia + lualatex. Here is the log: https://gist.github.com/georgthegreat/7386134

closed as unclear what you're asking by Joseph Wright Feb 1 '14 at 21:58

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 3
    2GiB for a 66 page file seems quite exaggerated. ;-) I suspect some loop. – egreg Nov 6 '13 at 17:49
  • 3
    Which version of lua(la)tex are you using? (This information should be contained in the first line of the .log file.) There was a memory leak issue in the version of lualatex that came before version 0.76. Running lualatex repeatedly might cause the system to run out of RAM... – Mico Nov 6 '13 at 19:34
  • This is LuaTeX, Version beta-0.76.0-2013062821 (rev 4627) — all packages are of the latest version available on CTAN. – Georg Nov 7 '13 at 4:04
  • Sorry, I've forgotten to add that I'm using 64-bit Miktex on 64-bit Win7. – Georg Nov 7 '13 at 19:00
  • Can you show a minimal example? – egreg Nov 7 '13 at 21:52