摘要: 看Fresco的代码中,有这样的一个类: /** * To eliminate the possibility of some of our objects causing an OutOfMemoryError when they are * not used, we reference them 阅读全文
posted @ 2018-09-06 19:55 沧海一滴 阅读(537) 评论(0) 推荐(0)
摘要: 2.out of memory错误因为默认情况下es对字段数据缓存(Field Data Cache)大小是无限制的,查询时会把字段值放到内存,特别是facet查询,对内存要求非常高,它会把结果都放在内存,然后进行排序等操作,一直使用内存,直到内存用完,当内存不够用时就有可能出现out of mem 阅读全文
posted @ 2018-09-06 19:51 沧海一滴 阅读(387) 评论(0) 推荐(0)