-
-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possible EventEmitter memory leak detected #98
Comments
Hi @XIIIcool 👋 Thank you for opening this issue. Can you share your environment versions (node, os, ...)? There is a way to create multiples images with |
node v14.15.1 |
Bulk image creation solved the problem of memory leaks and application hang. But for some reason in the created pictures the html was not converted, but the code remained. And it would not be bad to transfer a unique identifier to the mass creation of images in the content, so that you can easily extract it. ` async makeTicketEmailImages() {
|
Handlebars seems to escape your html. Here is the documentation about this. |
resolved problem, changed {{to {{{, thanks a lot for great support |
I have a problem when I create multiple images. My application has a timeline, and I convert comments into pictures. When there are several conversions in the tile, then there is a memory leak, and when there are more than 50 of them, the application generally hangs.
error:
(node:124106) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 exit listeners added to [process]. Use emitter.setMaxListeners() to increase limit
at _addListener (events.js:390:17)
at process.addListener [as on] (events.js:406:10)
at Function.addEventListener (/home/WebstormProjects/works/doc-exporter/node_modules/puppeteer/lib/helper.js:123:17)
at BrowserRunner.start (/home/WebstormProjects/works/doc-exporter/node_modules/puppeteer/lib/Launcher.js:93:35)
at ChromeLauncher.launch (/home/WebstormProjects/works/doc-exporter/node_modules/puppeteer/lib/Launcher.js:205:16)
The text was updated successfully, but these errors were encountered: