nn::os::GetUsingMemorySize Functionsize_t GetUsingMemorySize();
None.
Gets the total size of memory currently allocated to the program.
The memory allocated to the program includes the program's static region, the heap, and device memory.
CONFIDENTIAL