service - Android Updating notification text causes memory usage -
so have service foreground notification launched when user navigates away activity.
i update notification consistently every second string has time, every update causes memory usage go @ least 0.01 mb. here's code i'm using:
mnotibuilder.setcontenttext(mbuilder.tostring()); mnotimanager.notify(notificationid, mnotibuilder.build());
i've tested string builder i'm using not causing it.
i don't know why happening, should worried @ all? i'm stickler when comes resource usage i'm trying right.
well wouldn't worry much. each time build new notification, take memory. android doesn't run garbage collection cycle long have enough memory, meaning old notification stay around while.
Comments
Post a Comment