Out of Memory error using firebase

前端 未结 1 651
-上瘾入骨i
-上瘾入骨i 2021-01-23 23:46

I am getting an oom error when reading from firebase database on android. I\'m using fragments for tabs, this is the code for one of the tabs..

public class Even         


        
1条回答
  •  不要未来只要你来
    2021-01-24 00:09

    You are downloading more data from Firebase than will fit in memory. Try splitting up the data, using queries, and reducing the scope of the read operation.

    0 讨论(0)
提交回复
热议问题