react-native 写的APP, 后台看到不少内存溢出的, 但又想不出是哪里出现问题,因为自己调试的时候也没发现内存暴涨的情况
所以想请教下有什么思路可以排查内存溢出问题呢?
错误大多如下几种:
java.lang.OutOfMemoryError: OutOfMemoryError thrown while trying to throw OutOfMemoryError; no stack available
java.lang.OutOfMemoryError: OutOfMemoryError thrown while trying to throw OutOfMemoryError; no stack trace available
java.lang.OutOfMemoryError: Failed to allocate a *** byte allocation with 0 free bytes and *** until OOM
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…