获取java.lang.OutOfMemoryError:Spark作业服务器

时间:2017-06-01 14:04:55

标签: spark-jobserver

获取java.lang.OutOfMemoryError:Spark作业服务器日志中的Java堆空间和作业服务器出现故障:

  

[2017-06-01 19:09:26,708] ERROR akka.actor.ActorSystemImpl [] [ActorSystem(JobServer)] - 来自线程[JobServer-akka.actor.default-dispatcher-18]的未捕获错误关闭JVM因为' akka.jvm-exit-on-fatal-error'已启用

     

java.lang.OutOfMemoryError:Java堆空间           at spray.http.HttpData $ NonEmpty.toByteArray(HttpData.scala:209)           在spray.httpx.unmarshalling.BasicUnmarshallers $$ anon $ 1.apply(BasicUnmarshallers.scala:30)           在spray.httpx.unmarshalling.BasicUnmarshallers $$ anon $ 1.apply(BasicUnmarshallers.scala:29)           在spray.httpx.unmarshalling.UnmarshallerLifting $$ anon $ 3.apply(UnmarshallerLifting.scala:35)           在spray.httpx.unmarshalling.UnmarshallerLifting $$ anon $ 3.apply(UnmarshallerLifting.scala:34)           在spray.httpx.unmarshalling.UnmarshallerLifting $$ anon $ 1.apply(UnmarshallerLifting.scala:25)           在spray.httpx.unmarshalling.UnmarshallerLifting $$ anon $ 1.apply(UnmarshallerLifting.scala:24)           at spray.httpx.unmarshalling.package $ PimpedHttpRequest.as(package.scala:47)           在spray.routing.directives.MarshallingDirectives $$ anonfun $ entity $ 1.apply(MarshallingDirectives.scala:35)           在spray.routing.directives.MarshallingDirectives $$ anonfun $ entity $ 1.apply(MarshallingDirectives.scala:35)           在spray.routing.directives.BasicDirectives $$ anonfun $ extract $ 1.apply(BasicDirectives.scala:86)           在spray.routing.directives.BasicDirectives $$ anonfun $ extract $ 1.apply(BasicDirectives.scala:86)           在spray.routing.directives.BasicDirectives $$ anon $ 3 $$ anonfun $ happly $ 1.apply(BasicDirectives.scala:92)           在spray.routing.directives.BasicDirectives $$ anon $ 3 $$ anonfun $ happly $ 1.apply(BasicDirectives.scala:92)           在spray.routing.directives.BasicDirectives $$ anonfun $ mapRequestContext $ 1 $$ anonfun $ apply $ 1.apply(BasicDirectives.scala:30)           在spray.routing.directives.BasicDirectives $$ anonfun $ mapRequestContext $ 1 $$ anonfun $ apply $ 1.apply(BasicDirectives.scala:30)           在spray.routing.directives.BasicDirectives $$ anon $ 3 $$ anonfun $ happly $ 1.apply(BasicDirectives.scala:92)           在spray.routing.directives.BasicDirectives $$ anon $ 3 $$ anonfun $ happly $ 1.apply(BasicDirectives.scala:92)           在spray.routing.directives.BasicDirectives $$ anonfun $ mapRequestContext $ 1 $$ anonfun $ apply $ 1.apply(BasicDirectives.scala:30)           在spray.routing.directives.BasicDirectives $$ anonfun $ mapRequestContext $ 1 $$ anonfun $ apply $ 1.apply(BasicDirectives.scala:30)           在spray.routing.directives.BasicDirectives $$ anon $ 3 $$ anonfun $ happly $ 1.apply(BasicDirectives.scala:92)           在spray.routing.directives.BasicDirectives $$ anon $ 3 $$ anonfun $ happly $ 1.apply(BasicDirectives.scala:92)           at spray.routing.RouteConcatenation $ RouteConcatenation $$ anonfun $$ tilde $ 1 $$ anonfun $ apply $ 1.apply(RouteConcatenation.scala:32)           at spray.routing.RouteConcatenation $ RouteConcatenation $$ anonfun $$ tilde $ 1 $$ anonfun $ apply $ 1.apply(RouteConcatenation.scala:31)           在spray.routing.RequestContext $$ anonfun $ withRejectionHandling $ 1.applyOrElse(RequestContext.scala:130)           在scala.runtime.AbstractPartialFunction $ mcVL $ sp.apply $ mcVL $ sp(AbstractPartialFunction.scala:33)           在scala.runtime.AbstractPartialFunction $ mcVL $ sp.apply(AbstractPartialFunction.scala:33)           在scala.runtime.AbstractPartialFunction $ mcVL $ sp.apply(AbstractPartialFunction.scala:25)           at spray.routing.RequestContext $$ anon $ 1.handle(RequestContext.scala:84)           at akka.spray.UnregisteredActorRefBase。$ bang(UnregisteredActorRefBase.scala:72)           在spray.routing.RequestContext.reject(RequestContext.scala:202)           在spray.routing.directives.RouteDirectives $$ anon $ 1.apply(RouteDirectives.scala:35)

我如何增加记忆力?

0 个答案:

没有答案