标签:cep ima tor host sdn exception 配置 set 修改
在运行代码之后,出现以下错误:
Exception in thread "main" org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 107.0 failed 1 times, most recent failure: Lost task 0.0 in stage 107.0 (TID 208, localhost, executor driver): java.lang.OutOfMemoryError: GC overhead limit exceeded
经查询之后,是由于JVM花费太长时间执行GC且只能回收很少的堆内存时抛出的
一般可以通过更改JVM启动配置增加堆大小来解决
参考:https://blog.csdn.net/github_32521685/article/details/89953796
IDEA报错:GC overhead limit exceeded?
标签:cep ima tor host sdn exception 配置 set 修改
原文地址:https://www.cnblogs.com/cjq10029/p/12688693.html