-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Deno 1.32.2 hangs when run and then crashes with OOM error #18648
Labels
duplicate
a duplicate of another issue
Comments
This was referenced Apr 20, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello!
Today I've returned to my computer (aarch64 macOS 13.1) and now if I run
deno
in the terminal it hangs for about 40 seconds before the shell starts. Once the shell it present it works and feels normal, but then the program entirely crashes with an OOM error 5 to 10 seconds later.I have not knowningly changed my computer at all since when I last used Deno on this machine a few days ago.
If I run
deno --log-level=debug
it prints many many lines like this before it crashes:Here is the full log: deno-log.txt
If I move
~/Library/Caches/deno/npm
to a new location it no longer crashes, but it still takes 6 seconds to start the shell.Here is the logs for when that happens:
Do let me know what else I can do to help debug!
Thanks,
Louis
edit: I mistaken when I said removing the npm cache directory fixed it, it seems to instead be based upon what my working directory is. If I'm in my home directory it crashes, but if I'm in the
~/Library/Caches/deno
it starts the shell in 6 seconds and uses 2.52GB of memory at start. If I run it in a new directory it starts near instantly and uses 54MB.edit 2: 1.32.3 does not have this problem, but I had to manually upgrade.
brew
doesn't have this for some reason.The text was updated successfully, but these errors were encountered: