How to check memory leak in Xamarin.Android?

Can anyone share suggestions or ways to test memory on the Xamarin.Android platform using Xamarin Studio?

I tried using the option below available in Xamarin Studio,

Tools> Tools> Distribution

But in this I can only select iOS devices in the settings, as shown below,

enter image description here

Is there any solution for this?

+4
source share
2 answers

, Xamarin Studio . , Enterprise. - Android.

:

1) Eclipse Memory Analyzer

2) Android Device Monitor. Android SDK "Android-SKD/tools/monitor". , Xamarin, CMD + SDK.

enter image description here enter image description here

3) ( Android Java). Android SDK "Android-SDK/platform-tools/hprof-conv"

enter image description here

CAPTURE:

1)

2) (2 )

3) .

enter image description here

4) " " ( )

5) , , ,

6) " " ( )

:

1) Java

1.1)

1.2) Shappshot (hprof-conv) (3 )

1.3) hprof-conv

1.4) Android, .

android-sdk-macosx/platform-tools/hprof-conv raw.hprof converted.hprof

enter image description here

2) Eclipse (1 )

3)

enter image description here

3)

enter image description here

4)

enter image description here

+5

Xamarin Profiler https://www.xamarin.com/profiler , . , , Android.

0

Source: https://habr.com/ru/post/1681241/


All Articles