Skip to content
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

Permissions / error in terminal #259

Closed
villbass opened this issue Apr 2, 2023 · 1 comment
Closed

Permissions / error in terminal #259

villbass opened this issue Apr 2, 2023 · 1 comment

Comments

@villbass
Copy link

villbass commented Apr 2, 2023

When I type "deno" in my zsh iTerm 2 I got this message after many pop ups asking for permission to many folders?

What permission should be set to avoid this?

"Last login: Sun Apr 2 18:50:01 on ttys001
➜ ~ deno
deno run Deno 1.32.2
exit using ctrl+d, ctrl+c, or close()
REPL is running with all permissions allowed.
To specify permissions, run deno repl with allow flags.

deno run
<--- Last few GCs --->

[44866:0x130030000] 93015 ms: Scavenge 1369.3 (1419.6) -> 1368.8 (1431.1) MB, 2.38 / 0.00 ms (average mu = 0.663, current mu = 0.395) allocation failure;
[44866:0x130030000] 93033 ms: Scavenge 1375.6 (1431.1) -> 1374.5 (1431.1) MB, 3.17 / 0.00 ms (average mu = 0.663, current mu = 0.395) allocation failure;
[44866:0x130030000] 93233 ms: Scavenge 1376.4 (1431.1) -> 1375.4 (1452.1) MB, 195.79 / 0.00 ms (average mu = 0.663, current mu = 0.395) allocation failure;

<--- JS stacktrace --->

Fatal javascript OOM in Reached heap limit

[1] 44866 trace trap deno
➜ ~ deno
Deno 1.32.2
exit using ctrl+d, ctrl+c, or close()
REPL is running with all permissions allowed.
To specify permissions, run deno repl with allow flags.

<--- Last few GCs --->

[44936:0x128030000] 57817 ms: Scavenge 1372.7 (1422.0) -> 1372.3 (1432.8) MB, 2.25 / 0.00 ms (average mu = 0.670, current mu = 0.401) allocation failure;
[44936:0x128030000] 57834 ms: Scavenge 1379.3 (1433.0) -> 1377.9 (1434.0) MB, 3.50 / 0.00 ms (average mu = 0.670, current mu = 0.401) allocation failure;
[44936:0x128030000] 58025 ms: Scavenge 1380.1 (1434.0) -> 1379.1 (1454.5) MB, 186.21 / 0.00 ms (average mu = 0.670, current mu = 0.401) allocation failure;

<--- JS stacktrace --->

Fatal javascript OOM in Reached heap limit"

@dsherret
Copy link
Member

Upgrade to the latest version. There was a major bug in 1.32.2 related to memory usage in the repl.

denoland/deno#18648 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants