microg / GmsCore

Free implementation of Play Services
https://microg.org
Apache License 2.0
8.66k stars 1.73k forks source link

GmSCore memory usage/leak? #1907

Open Lemmiwinks opened 1 year ago

Lemmiwinks commented 1 year ago

I installed microg through nift4's microg_installer_revived magisk modules. Now I get extremely high memory usage of around 1-2 GB or even more (see pictures). Is this normal? How much do you have? What could be the reason for this? Otherwise it's working alright, safetynet passed, microg settings are a little slow and network based geolocation somehow doesn't work. Thank you!

Screenshot_20230309-084933_Settings Screenshot_20230309-084944_Settings Screenshot_20230322-120834

aidaho commented 1 year ago

screenshot_20231026_090919

I too have observed microg to be consistently the highest RAM consumer on my system (Lineage 17.1, microg 0.2.29.233013).

aidaho commented 9 months ago

A few months later microg made the phone largely unusable. Foreground apps are getting killed due to insufficient memory. I'm not sure why this is happening, since I have another Lineage 17.1 phone which is completely fine.

microg 0.3.0.233515

screenshot_20240127_090945

mar-v-in commented 9 months ago

microG typically does not use a lot of memory, so there is something about your system that causes it to do something weird.

aidaho commented 9 months ago

microG typically does not use a lot of memory, so there is something about your system that causes it to do something weird.

* Do you use any Google apps? If yes, please name them.

Google Maps Google TTS ReVanced (sort of a Google app)

* Do you have a Google Account set up in microG?

Yes.

  • Do you have microG's SafetyNet enabled? Yes.
deadYokai commented 1 week ago

i have similar issue it's loads to 3.6gb (my max at phone) checked in htop

as workaround i created a swap (by magisk module)