We have moved to a new Sailfish OS Forum. Please start new discussions there.
26

[bug] aliendalvik memory leak

Tracked by Jolla (In release)

asked 2019-02-03 21:18:25 +0300

lethe gravatar image

updated 2019-11-27 17:01:41 +0300

jiit gravatar image

Aliendalvik sometimes seems to heavily leak memory.

Noticable issues start with "sluggish"/unresponsive UI which gets progressively worse. When the display is off, pressing the power button does not turn on the display but instead the LED starts blinking red.

The last time this happend, htop showed "system_server" using up 25% memory, still increasing.

These issues continue until the phone is rebooted or the kernel's OOM killer kills the right process.

I'm using SfOS 3.0.1.14 with aliendalvik 8.1.0.46.12-1.1.1 on a dual sim XA2 (H4113).

edit retag flag offensive close delete

Comments

Alien Dalvik is completely unusable due to something similar on my XA2 Plus Dual SIM - as soon as I start an app, at first it works, then after 40 seconds to up to a minute it becomes sluggish and freezes, then OOM kills it and Dalvik restarts. Then again.

Watching this in htop is mesmerizing - 3 system-server processes gobble 10% of memory each and take 100% CPU time of one CPU each, until they get killed a while later. Turned out you don't even need to start an app, so that it can get killed. :D

Btw, the old logs folder doesn't work with this Dalvik version, any idea how to get logs out of this?

Bundyo ( 2019-02-04 08:02:33 +0300 )edit
1

This happened to me when I configured the Google Account and syncronyzed the contacts, after I delete my Google account, I didn't had that problem.

carmeloferso ( 2019-02-04 16:02:06 +0300 )edit

You mean in Sailfish, not in the Android runtime, right?

Bundyo ( 2019-02-04 17:05:58 +0300 )edit
1

This is a BIG Issue! Should be PRIO 1 in fixing.. about ~12 hours of running Aliendalvik on XA2 and the System ist completly useless! AD eats more than 98% of memory and OOM Killer did nothing! This must be fixed!

jayki ( 2019-02-04 18:20:23 +0300 )edit
1

I can confirm the issue with android support and google account. Yesterday reseted my XA2 to factory settings, because didn't found other solution. Today was everything fine with andoid support until google account was activated. after removing.google account andoid support worda as designed.

Bratsk ( 2019-02-05 00:07:29 +0300 )edit

1 Answer

Sort by » oldest newest most voted
3

answered 2019-03-19 12:34:56 +0300

Bundyo gravatar image

Chiming in to say that the bug still reproduces in 3.0.2.8. The leak fares better and my Dalvik restarts now after whole 4-5 minutes, but it still leaks and restarts repeatedly while I have a Google account defined in Jolla accounts. Deleting the account completely fixes the leak again.

edit flag offensive delete publish link more

Comments

The bug is not just correlated with Googly contact sync. I switched to fruux ion order to circumvent this, but as soon as sync begins, systems server starts to "eat" memory...

Caluna ( 2019-03-19 13:11:33 +0300 )edit

Can confirm that it's not related to a google account. I have installed just a caldav/carddav account (to egroupware) and observe also the sluggish"/unresponsive UI. I didn't link that problem to the caldav account, till I read this thread. I can also confirm, that it's less often since the update to 3.0.2.8. I'll observe it further ...

triessner ( 2019-03-20 17:04:52 +0300 )edit
Login/Signup to Answer

Question tools

Follow
7 followers

Stats

Asked: 2019-02-03 21:18:25 +0300

Seen: 922 times

Last updated: Mar 19 '19