-
Notifications
You must be signed in to change notification settings - Fork 1
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
Daemon crashed with FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory #34
Comments
@Jblew it happened again:
|
@noisy Apparently there is a momory leak. v8 (node interpreter) has a strict memory limit of 1.7GB, so it means that wise-cli peaked to that! / GC in v8 has some limitations. Probably somewhere in code is some often invoked closure, or unnecessary multiple references to an object. There are memory leak detection tools for node, we'll have to run them. |
I've made an upgrade of node to version 11.6.0. We will see if this will help... |
@noisy 11.x is not supported nor tested. I would recommend to use the latest LTS (which is 10.x). Primarily in all tests, docker and on our server we use 10.12. We should probably upgrade to 10.15. There are few mwmory leak-related entries in node v8's change log between these versions |
@noisy why don't you use wise in a docker container? |
@bgornicki because I wanted to debug this problem, not find a workaround for it. |
And a Docker container is a solution for creating strictly controlled environment, perfect for finding and reproducing bugs like that ;) |
The problem:
Daemon crashed
I did
wise deamon
I expected to see:
Daemon running
Instead, I saw:
Links to gist with output / logs (or at least a picture):
Version of nodejs:
3.1.0-rc.1
Node version:
v9.11.1
The text was updated successfully, but these errors were encountered: