tsteve
tsteve

Reputation: 549

Android memory leak? Navigation SDK not working properly

I'm using a navigation SDK to get turn-by-turn directions in an Android app -- but the SDK is not performing properly.

When I start navigation, memory usage in the app starts to rise and fall. It looks like this (from Android Monitor in Android Studio):

enter image description here

I'm concerned there may be a memory leak problem that is causing navigation to not work properly.

Does the memory graph above look normal? Or does it look like I have a memory leak? Any other insights?

Thanks.

Upvotes: 0

Views: 91

Answers (1)

yash tandon
yash tandon

Reputation: 38

Yes the graph shows that there is a memory leak in your app and

you can request to use more by using android:largeHeap="true" in the manifest.

You can also use a library LeakCanary which is used for catching memory leaks in your apps.

Upvotes: 1

Related Questions