问题:
I get this error message as I execute my JUnit tests: 我执行JUnit测试时收到以下错误消息:
java.lang.OutOfMemoryError: GC overhead limit exceeded
I know what an OutOfMemoryError
is, but what does GC overhead limit mean? 我知道什么是OutOfMemoryError
,但是GC开销限制是什么意思? How can I solve this? 我该如何解决?
解决方案:
参考一: https://stackoom.com/question/5qVa/错误java-lang-OutOfMemoryError-超出了GC开销限制参考二: https://oldbug.net/q/5qVa/Error-java-lang-OutOfMemoryError-GC-overhead-limit-exceeded
来源:oschina
链接:https://my.oschina.net/u/3797416/blog/4329270