请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

java.lang.OutOfMemoryError: Java heap space

java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:3236)
at java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:118)
at java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:93)
at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:153)
at java.io.ObjectOutputStreamBlockDataOutputStream.drain(ObjectOutputStream.java:1877)atjava.io.ObjectOutputStreamBlockDataOutputStream.drain(ObjectOutputStream.java:1877) at java.io.ObjectOutputStreamBlockDataOutputStream.drain(ObjectOutputStream.java:1877)atjava.io.ObjectOutputStreamBlockDataOutputStream.setBlockDataMode(ObjectOutputStream.java:1786)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1189)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)
at org.apache.flink.util.InstantiationUtil.serializeObject(InstantiationUtil.java:534)
at org.apache.flink.util.SerializedValue.(SerializedValue.java:52)
at org.apache.flink.runtime.accumulators.AccumulatorSnapshot.(AccumulatorSnapshot.java:51)
at org.apache.flink.runtime.accumulators.AccumulatorRegistry.getSnapshot(AccumulatorRegistry.java:57)
at org.apache.flink.runtime.taskexecutor.TaskExecutor.unregisterTaskAndNotifyFinalState(TaskExecutor.java:1352)
at org.apache.flink.runtime.taskexecutor.TaskExecutor.access2200(TaskExecutor.java:138)atorg.apache.flink.runtime.taskexecutor.TaskExecutor2200(TaskExecutor.java:138) at org.apache.flink.runtime.taskexecutor.TaskExecutor2200(TaskExecutor.java:138)atorg.apache.flink.runtime.taskexecutor.TaskExecutorTaskManagerActionsImpl.lambda$updateTaskExecutionState1(TaskExecutor.java:1591)atorg.apache.flink.runtime.taskexecutor.TaskExecutor1(TaskExecutor.java:1591) at org.apache.flink.runtime.taskexecutor.TaskExecutor1(TaskExecutor.java:1591)atorg.apache.flink.runtime.taskexecutor.TaskExecutorTaskManagerActionsImplKaTeX parse error: $ within math modeanonfun$receive1.applyOrElse(UntypedActor.scala:165)atakka.actor.Actor1.applyOrElse(UntypedActor.scala:165) at akka.actor.Actor1.applyOrElse(UntypedActor.scala:165)atakka.actor.Actorclass.aroundReceive(Actor.scala:502)
at akka.actor.UntypedActor.aroundReceive(UntypedActor.scala:95)
at akka.actor.ActorCell.receiveMessage(ActorCell.scala:526)
at akka.actor.ActorCell.invoke(ActorCell.scala:495)
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257)
at akka.dispatch.Mailbox.run(Mailbox.scala:224)
at akka.dispatch.Mailbox.exec(Mailbox.scala:234)
at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

运行出错

正在回答 回答被采纳积分+3

1回答

Michael_PK 2021-02-04 18:36:25

java.lang.OutOfMemoryError: Java heap space

内存不够了,调大jvm内存

0 回复 有任何疑惑可以回复我~
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信