docx recipe memory cap?
Hi, We are running a docx report generation with lots of images (around 5000 images) using docxImage with url.
The server is running with 20GB memory, but we find that during the docx recipe creation, it looks like its cap at around 4-5GB memory and didn't use more. I wonder if there are ways to increase the limit to make it run faster?
right now the recipe has been running for over an hours and still running. If I split the data into half, the recipe run less than half hour. So I would like to ask if the memory cap cause the slow down of the generation?
Try to set the following environment variable. This tells nodejs to use more memory.
or using command line arg
node --max-old-space-size=8192 server.js
I've also submitted a task to optimize memory usage when processing docx images. You can subscribe here