zola: Out of memory, process killed
Machine info:
32 GB of RAM 8-core CPU: Intel® Xeon® CPU E3-1270 v6 @ 3.80GHz
Running zola v0.5.0
The site I’m generating has a content directory with 105336 files, 105732 sub-folders. Almost all of the files are section markdown.
I understand this is probably not a very common use case, but hopefully will be useful for you in optimizing memory management of Zola.
dmesg -T | grep zola
Out of memory: Kill process 29015 (zola) score 908 or sacrifice child
Killed process 29015 (zola) total-vm:30630456kB, anon-rss:30549904kB, file-rss:0kB, shmem-rss:0kB
oom_reaper: reaped process 29015 (zola), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB
Grafana chart over 3 unsuccessful runs:

About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 23 (5 by maintainers)
Both issues should be fixed on the
nextbranch nowCan confirm that memory usage is much much lower now. Great job!
It should be fine with 0.6.0 (currently being built). Re-open the issue if you still encounter problems!