Closed edouard-lopez closed 7 years ago
Clearly a memory leak of some kind; While the last stack frame is indeed in this project, it's not necessarily the culprit. Have you analyzed the heap? If this isn't a task that needs to be run regularly, upping the memory limit might also be a solution.
Should not be a common task, but I
NPM@4
raise the limit to --max_old_space_size=8192
and it still crashes.
Considering the linked issues have all been closed, I'm going to close this too.
For clarity, I solved my issue with following command (see commit):
node \
--max_old_space_size=8192 \
--optimize_for_size \
--max_executable_size=4096 \
--stack_size=4096 \
--require babel-core/register \
./index.js
Issue
I'm a gentledev i: [x] fully read the README recently [x] searched for existing issues [x] checked i'm up to date with the latest version of the project
Expected behavior
Completing the task.
Actual behavior
I run the my script on a directory with
41214
SVG files and got the following errorError
Steps to reproduce the behavior
Get font generator repo:
Get data extractor repo:
Extract chinese data:
Generate font
Debugging informations
node -v
result:npm -v
result:Question
How can I solve this?
related: