Replies: 1 comment 2 replies
-
Looking at the stack trace, it says the out of memory error happens when initializring a RegExp, maybe you could look into optimizing those – I haven't looked at your code, maybe there's a way to achieve what you code is doing using fewer and/or less heavy regexes. You can also have a look at https://nodejs.org/api/cli.html#useful-v8-options, you can force V8 to spend more work on garbage collector, which might let you avoid the out of memory error. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a Scheme interpreter written in JavaScript and when running a recursive macro I got this error:
I'm low on memory, I have 16GB of RAM but right now only 1,8G Free.
Is there something I can do to the code or the RAM is the limitation?
Beta Was this translation helpful? Give feedback.
All reactions