arcore-android-sdk icon indicating copy to clipboard operation
arcore-android-sdk copied to clipboard

Native memory continues to grow

Open xiaosong97 opened this issue 4 years ago • 2 comments

SPECIFIC ISSUE ENCOUNTERED

Native memory continues to grow. Maybe there is a memory leak.

VERSIONS USED

  • Android Studio: 4.1.3
  • ARCore SDK for Android: 1.29.0
  • Device manufacturer, model, and O/S: pixel 4 xl, android 12
  • Google Play Services for AR (ARCore): 1.29.213210233 On Windows, use: adb shell pm dump com.google.ar.core | findstr /i "packages: versionName" On macOS, use: adb shell pm dump com.google.ar.core | egrep -i versionName\|packages:
  • Output of adb shell getprop ro.build.fingerprint: google/coral/coral:12/SQ1A.211205.008/7888514:user/release-keys

STEPS TO REPRODUCE THE ISSUE

1.start hello_ar_c sample 2.start profiler in android studio

WORKAROUNDS (IF ANY)

ADDITIONAL COMMENTS

xiaosong97 avatar Dec 23 '21 08:12 xiaosong97

test

this is the profiler capture image

xiaosong97 avatar Dec 27 '21 13:12 xiaosong97

Your screenshot seems to be within normal acceptable bounds. Are you seeing a large increase after prolonged usage?

Here's a 5 minute profile on my device, which seems normal to me: image

devbridie avatar Jan 12 '22 12:01 devbridie