In C++ it could do something like obj.sizeOf() to check the object's size in memory.
How to do it with kotlin in Android? Need to check how much an object is consuming the memory.
(can't use java.lang.instrumentation with Android)
In C++ it could do something like obj.sizeOf() to check the object's size in memory.
How to do it with kotlin in Android? Need to check how much an object is consuming the memory.
(can't use java.lang.instrumentation with Android)