node-html-pdf
node-html-pdf copied to clipboard
Unable to use library in Node.js Azure functions
Hi All,
I am trying to use this module in a node.js Azure function app. The aim is to make a server-less function that converts a html stings to pdf files. Server-less functions on a consumption based plan have a maximum memory of 1.5GB. Unfortunately when I publish my function I receive the following error which indicates that i have insufficient memory (as indicated here) .
Received the exit code '3221225477' Fatal Windows exception, code 0xc0000005.
Is there a way to reduce the memory consumption of the module to <1.5GB so that it can run on a consumption based plan?
Anyone has found a solution for this?
What I had to do was update my function apps plan to have increased RAM. Unfortunately this increased my cost significantly.