Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Service MeasurementBrokerService is in use" is showing in my application process

I have encountered an issue that GooglePlayServices app is using my application process for their service and also showing the processes count as 2.
I have attached the screenshot for the same. I have no idea why it is happening.
It is taking more memory compare to my app process.


Someone please can help me on this.

enter image description here


Showing two processes hereenter image description here

like image 295
Noundla Sandeep Avatar asked Dec 17 '15 14:12

Noundla Sandeep


2 Answers

I encountered this today after I added gcm to my app and can't figure out what exactly is the use of this MeasurementBrokerService. The only thing I found was this comment:

"I also had it and guess it is related to notification listener since it appears that Preventing macrodroid's notifications access make it stop. ( hope i m clear, my english is only remaining of school times...)"

from here

like image 147
Guy S Avatar answered Oct 22 '22 08:10

Guy S


We've seen this service show up as well. The issue turned out to be using Google Analytics along with a NotificationListenerService.

For some reasons these two things didn't play well together and caused MeasurementBrokerService to be always running, and consuming a significant amount of memory.

The solution for us was to remove Google Analytics for an alternative analytics solution.

like image 39
David Zhao Avatar answered Oct 22 '22 08:10

David Zhao