java.lang.OutOfMemoryError

unable to create new native thread*

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web630

  • via GitHub by Metal-Mighty
    ,
  • Stack trace

    • java.lang.OutOfMemoryError: unable to create new native thread* at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:679) at java.lang.UNIXProcess$1.run(UNIXProcess.java:157) at java.security.AccessController.doPrivileged(Native Method) at java.lang.UNIXProcess.<init>(UNIXProcess.java:119) at java.lang.ProcessImpl.start(ProcessImpl.java:81) at java.lang.ProcessBuilder.start(ProcessBuilder.java:470) at java.lang.Runtime.exec(Runtime.java:612) at java.lang.Runtime.exec(Runtime.java:485) at scala.tools.jline.internal.TerminalLineSettings.exec(TerminalLineSettings.java:178) at scala.tools.jline.internal.TerminalLineSettings.exec(TerminalLineSettings.java:168) at scala.tools.jline.internal.TerminalLineSettings.stty(TerminalLineSettings.java:163) at scala.tools.jline.internal.TerminalLineSettings.get(TerminalLineSettings.java:67) at scala.tools.jline.internal.TerminalLineSettings.getProperty(TerminalLineSettings.java:87) at scala.tools.jline.UnixTerminal.readVirtualKey(UnixTerminal.java:127) at scala.tools.jline.console.ConsoleReader.readVirtualKey(ConsoleReader.java:933) at org.apache.spark.repl.SparkJLineReader$JLineConsoleReader.readOneKey(SparkJLineReader.scala:54) at org.apache.spark.repl.SparkJLineReader.readOneKey(SparkJLineReader.scala:81) at scala.tools.nsc.interpreter.InteractiveReader$class.readYesOrNo(InteractiveReader.scala:29) at org.apache.spark.repl.SparkJLineReader.readYesOrNo(SparkJLineReader.scala:25) at org.apache.spark.repl.SparkILoop$$anonfun$1.org$apache$spark$repl$SparkILoop$$anonfun$$fn$1(SparkILoop.scala:576) at org.apache.spark.repl.SparkILoop$$anonfun$1$$anonfun$org$apache$spark$repl$SparkILoop$$anonfun$$fn$1$1.apply$mcZ$sp(SparkILoop.scala:576) at scala.tools.nsc.interpreter.InteractiveReader$class.readYesOrNo(InteractiveReader.scala:32) at org.apache.spark.repl.SparkJLineReader.readYesOrNo(SparkJLineReader.scala:25) at org.apache.spark.repl.SparkILoop$$anonfun$1.org$apache$spark$repl$SparkILoop$$anonfun$$fn$1(SparkILoop.scala:576) at org.apache.spark.repl.SparkILoop$$anonfun$1$$anonfun$org$apache$spark$repl$SparkILoop$$anonfun$$fn$1$1.apply$mcZ$sp(SparkILoop.scala:576) at scala.tools.nsc.interpreter.InteractiveReader$class.readYesOrNo(InteractiveReader.scala:32) at org.apache.spark.repl.SparkJLineReader.readYesOrNo(SparkJLineReader.scala:25) at org.apache.spark.repl.SparkILoop$$anonfun$1.org$apache$spark$repl$SparkILoop$$anonfun$$fn$1(SparkILoop.scala:576) at org.apache.spark.repl.SparkILoop$$anonfun$1.applyOrElse(SparkILoop.scala:579) at org.apache.spark.repl.SparkILoop$$anonfun$1.applyOrElse(SparkILoop.scala:566) at scala.runtime.AbstractPartialFunction$mcZL$sp.apply$mcZL$sp(AbstractPartialFunction.scala:33) at scala.runtime.AbstractPartialFunction$mcZL$sp.apply(AbstractPartialFunction.scala:33) at scala.runtime.AbstractPartialFunction$mcZL$sp.apply(AbstractPartialFunction.scala:25) at org.apache.spark.repl.SparkILoop.innerLoop$1(SparkILoop.scala:608) at org.apache.spark.repl.SparkILoop.loop(SparkILoop.scala:611) at org.apache.spark.repl.SparkILoop$$anonfun$process$1.apply$mcZ$sp(SparkILoop.scala:936) at org.apache.spark.repl.SparkILoop$$anonfun$process$1.apply(SparkILoop.scala:884) at org.apache.spark.repl.SparkILoop$$anonfun$process$1.apply(SparkILoop.scala:884) at scala.tools.nsc.util.ScalaClassLoader$.savingContextLoader(ScalaClassLoader.scala:135) at org.apache.spark.repl.SparkILoop.process(SparkILoop.scala:884) at org.apache.spark.repl.SparkILoop.process(SparkILoop.scala:983) at org.apache.spark.repl.Main$.main(Main.scala:31) at org.apache.spark.repl.Main.main(Main.scala)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    bernardpaulusbernardpaulus
    8 times, last one
    nasimknasimk
    Once,
    poroszdporoszd
    530 times, last one
    QrCericQrCeric
    3 times, last one
    Unknown visitor
    Unknown visitorOnce,
    31 more bugmates