frigjord
frigjord3y ago

How to get complete Deno RAM usage?

Do we use Deno.memoryUsage().rss or should it be rss+heapUsed+external?
2 Replies
divy
divy3y ago
Deno.systemMemoryInfo() Overall memory usage
frigjord
frigjordOP3y ago
Of 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.