Hello,
attached is a sample xamarin android project you provided me several months ago. It is real time plot example, it plots 180 samples in the chart. Old samples are removed from data collection.
The app starts with normal memory usage:
04-12 01:07:02.757 D/Mono (20765): GC_MINOR: (Nursery full) time 40.53ms, stw 41.88ms promoted 2204K major size: 3168K in use: 2440K los size: 1024K in use: 216K
However, after several minutes of run, the memory usage is very high and is continuously increasing.
04-12 01:09:34.002 D/Mono (20765): GC_MAJOR: (LOS overflow) time 49.11ms, stw 49.50ms los size: 1024K in use: 507K
04-12 01:09:34.002 D/Mono (20765): GC_MAJOR_SWEEP: major size: 16256K in use: 15183K
Is there memory leak issue in your charts? Or how to make the app consume constant amount of memory (as old samples are removed from chart)?
Attachment:
DataMarkerSample264781638_leak_8ed63b7e.zip