Skip to content Skip to sidebar Skip to footer

If I Start A Firebase Trace And Don't Ever Stop It? Will It Cause Issues On Android?

I'm using Firebase Performance Monitoring SDK (on Android, but will also on iOS) and for one particular use case it's hard to know whether a started Trace will ever be stopped. And

Solution 1:

If you start a trace but never stop it, a very small amount of memory will be leaked for that Trace object as it waits for you to stop it. It's probably not a big deal, but a leak is a leak. Clearing the reference when you would like to abandon the trace will allow it to be garbage collected.


Post a Comment for "If I Start A Firebase Trace And Don't Ever Stop It? Will It Cause Issues On Android?"