TJBlackman
TJBlackman
DDeno
Created by TJBlackman on 9/1/2024 in #help
Deno memory usage in Docker Container is crazy high...?
@bartlomieju You're a legend! Thanks for your time and feedback!
9 replies
DDeno
Created by TJBlackman on 9/1/2024 in #help
Deno memory usage in Docker Container is crazy high...?
lol
9 replies
DDeno
Created by TJBlackman on 9/1/2024 in #help
Deno memory usage in Docker Container is crazy high...?
some
9 replies
DDeno
Created by TJBlackman on 9/1/2024 in #help
Deno memory usage in Docker Container is crazy high...?
I typed node to start node or deno to start deno, but here are better commands: docker run -it --rm --name deno-process denoland/deno:alpine deno docker run -it --rm --name node-process node:22-alpine node And the stats I got on windows 11 (although im pretty sure docker runs via WSL2, Ubuntu22 in my case):
sh
CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
c99768762c1b deno-process 0.00% 148.1MiB / 31.22GiB 0.46% 14.1kB / 3.76kB 0B / 0B 22
200bb84c4c50 node-process 0.00% 10.58MiB / 31.22GiB 0.03% 746B / 0B 0B / 0B 11
sh
CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
c99768762c1b deno-process 0.00% 148.1MiB / 31.22GiB 0.46% 14.1kB / 3.76kB 0B / 0B 22
200bb84c4c50 node-process 0.00% 10.58MiB / 31.22GiB 0.03% 746B / 0B 0B / 0B 11
Just running Deno costs 148MB??? That sounds crazy high...
9 replies
DDeno
Created by KRusl on 11/7/2023 in #help
Whimsical error shows up when I run a file
lol - if it's hosted on NPM, use the npm: prefix. Auto-complete, intellisense, and chatbots are great, trust but always verify.
15 replies
DDeno
Created by KRusl on 11/7/2023 in #help
Whimsical error shows up when I run a file
For npm imports, I think you need to prefix with npm: so it would look like import {things} from "npm:@discordjs/util"
15 replies
DDeno
Created by TJBlackman on 1/23/2023 in #help
How can I get `npm` in the path for Deno.run()?
6 replies
DDeno
Created by TJBlackman on 1/23/2023 in #help
How can I get `npm` in the path for Deno.run()?
Same error. Uncaught NotFound: program not found I don't think npm is in scope - so to speak. Maybe if I use the complete executable path...
6 replies
DDeno
Created by TJBlackman on 1/23/2023 in #help
How can I get `npm` in the path for Deno.run()?
6 replies