Permissions / error in terminal
villbass opened this issue · 1 comments
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"
Upgrade to the latest version. There was a major bug in 1.32.2 related to memory usage in the repl.