How to get complete Deno RAM usage?
Do we use
Deno.memoryUsage().rss
or should it be rss+heapUsed+external
?2 Replies
Deno.systemMemoryInfo()
Overall memory usageOf the Deno process? Not looking for system RAM usage.
When I testing i imported 40K icons as JSON and I see this:
With Imports:
RSS: 161 MB
Heap: 137 MB
Ext: 3 MB
Total: 301 MB
Without Imports:
RSS: 26 MB
Heap: 21 MB
Ext: 4 MB
Total: 50 MB
So it seems the full RAM usage is rss+heapUsed+external.