java.lang.OutOfMemoryError: GC overhead limit exceeded on Android 1.4

后端 未结 7 1347
庸人自扰
庸人自扰 2020-12-03 02:26

I get an java.lang.OutOfMemoryError: GC overhead limit exceeded when run gradle on Android 1.4 ... these are my depedencies :

dependencies {         


        
相关标签:
7条回答
  • 2020-12-03 03:30

    When JVM/Dalvik spends more than 98% doing GC and only 2% or less of the heap size is recovered the “java.lang.OutOfMemoryError: GC overhead limit exceeded” is thrown.

    The solution is to extend heap space or use profiling tools/memory dump analyzers and try to find the cause of the problem.

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