How to calculate the Volume of data in node

how to count an array in node, the size of an object, byte. You can count strings with Buffer, but you can"t count arrays and objects.

Mar.04,2021

using this package node-heapdump , you can see the memory snapshot

Menu