解决 GreenDao 多线程查询引发的OOM异常

1、java.lang.OutOfMemoryError: Failed to allocate a 56 byte allocation with 32 free bytes and 32B until OOM

2、java.lang.OutOfMemoryError: OutOfMemoryError thrown while trying to throw OutOfMemoryError; no stack available
主要是这两种类型的OOM,刚开始真没想到GreenDao会泄露,先记录尽量先规避掉!

上一篇:解析Java横死之谜,气定神闲看花开花落


下一篇:性能工具之Java调试工具JDB