You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Works fine when sync versions of writeFile or mkdir used (see mozilla/pdf.js#8461)
New finding: using non-native Node.js promises fixes the issue as well, e.g. global.Promise = undefined; forces to use PDF.js polyfill. This means there is no critical OOM leak on PDF.js side.
The text was updated successfully, but these errors were encountered:
Moved from nodejs/node#13337
Based on mozilla/pdf.js#8419
STR:
2.
node pdf2svg.js
Expected result:
No node fatal error
Actual result:
Works fine when sync versions of writeFile or mkdir used (see mozilla/pdf.js#8461)
New finding: using non-native Node.js promises fixes the issue as well, e.g.
global.Promise = undefined;
forces to use PDF.js polyfill. This means there is no critical OOM leak on PDF.js side.The text was updated successfully, but these errors were encountered: