且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

OutOfMemoryError:GC开销限制超出了android

更新时间:2023-09-12 15:22:04

GC overhead limit exceeded意味着您的应用占据了所有堆,垃圾回收器无法清理足够的空间来运行程序.

GC overhead limit exceeded means that your app occupied all the heap and garbage collector cannot clean enough space to run the program.

因此,您的应用程序中存在太多必要的数据或内存泄漏(即可以从应用程序根目录访问但不再需要的引用)-只有进一步的应用程序分析才能为您提供更多详细信息

So, there is too much necessary data in memory or memory leak (i.e. references which can be accessed from app root but no longer needed) exists in your application - only further app profiling can give you more details