Memory Leak in gatsby-node build with canvas createCanvas
mehdibetari opened this issue · comments
Hi,
I use your method for creating preview in gatsby-node.js for the twitter card of my articles, I have thousands of pages (more than 3000) and the build it goes without error but does not end.
[line 51]const createPreview = (title, fileName) => {...}
If I comment the method all ends well, I have the impression that there are memory leaks with the creation of canvas.
[line55]createCanvas(...)
Thanks for your help