Skip to content

Instantly share code, notes, and snippets.

@Morfly
Last active November 7, 2022 07:38
Show Gist options
  • Save Morfly/67980671bd0b4e5a6efb6c9c6bec0800 to your computer and use it in GitHub Desktop.
Save Morfly/67980671bd0b4e5a6efb6c9c6bec0800 to your computer and use it in GitHub Desktop.
import android.os.Debug
val nativeHeapAllocatedKb = Debug.getNativeHeapAllocatedSize() / 1024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment