This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Memory leaks?

Former Member
Former Member
Hi
I've noticed, that after killing processes of Connect it restarts automatically and takes about 50-60 MB of RAM on my phone just after restart. But after couple of hours, memory usage grows to 150, 200, or even 400MB (that is my record).
Is it normal?
Just after restart, Connect starts immediately. But when background processes take 100-200 MB of RAM, it takes about 40-60 seconds to run it.
My phone: Sony Xperia Z Ultra, Android 5.1.1
  • I'm afraid I've the same issue now. It has appeared 2 days ago - at least that was when I've noticed it. Phone went ridiculosly slow, even the simpliest apps could hardly react. OSmonitor showed more than 1,2GB memory usage of Garmin Connect. After restarting the app it started to use 150MByte immediately and it slowly went back to 800MBytes in 6-8 hours without touching the app, any GPS connection, data sync or any other actions.
    I've restarted my phone, it started and stayed on 105MByte RAM usage all night. This morning I've just opened the app, closed it, it immediately went up to 150Mbyte at started to slowly grow again. 1 more app opening, GPS sync caused it to be on 250Mbyte again and still growing.

    Android: 6.0.1
    Phone: CAT S60
    Garmin Connect version: 4.2.2
    GPS: Edge 520 EU version with the latest firmware

    ------

    Update: I've tried to upload the App Diagnostic summary in HTML but the "upload attachments" function did not worked.

    --------------

    Update No.2: I've found a possible root cause and a workaround!

    If I disabled all Smart Notifications (not only in the app but also on service level) the GCM starter to behave normally. It still runs in background, connects to my GPS without any issues but the maximum RAM usage I've seen was around 120MByte when it was active and around 45-50Mbyte in the background. Whenever I stopped using the app it went back to the 50Mbyte usage after a few minutes.

    Garmin please have a look on the Smart Notifications. It's a fine feature, can be really useful but it must be turned off if it completely eats all the RAM in the phone in a several hours.

    CAT has a vanilla Android and my friends with Samsung S8 have not experienced the same issue - maybe because Samsungs have fine automatic resource monitoring and management tool built in.