Skip to content Skip to sidebar Skip to footer

Out Of Memory Error When Using Firebase

I implement firebase google (com.google.firebase:firebase-auth:9.0.2), but when I call FirebaseAuth mFirebaseAuth = FirebaseAuth.getInstance(); I get message Out of memory. I'm

Solution 1:

Out of Memory errors usually disappear if you set android:largeHeap="true" in the Manifest.xml file - but in most cases, care should be taken to ensure you are not unnecessarily loading large amounts of data in memory. For example, look at the discussion in this closely related article here.

However, in your case I think you can just set android:largeHeap="true" in the Manifest.xml file. This should help.

Post a Comment for "Out Of Memory Error When Using Firebase"