java.lang.IllegalArgumentException: System memory 259522560 must be at least 4.718592E8. Please use a larger heap size.

microsoft.com | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Create Spark Scala applications using HDInsight plugin for IntelliJ IDEA | Microsoft Azure

    microsoft.com | 7 months ago
    java.lang.IllegalArgumentException: System memory 259522560 must be at least 4.718592E8. Please use a larger heap size.
  2. 0

    java.lang.IllegalArgumentException: System memory

    GitHub | 5 months ago | adriancole
    java.lang.IllegalArgumentException: System memory 466092032 must be at least 4.718592E8. Please use a larger heap size.
  3. 0

    GitHub comment 233#259531042

    GitHub | 4 months ago | hannes-ucsc
    java.lang.IllegalArgumentException: System memory 64880640 must be at least 4.718592E8. Please use a larger heap size.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. muffinmannen 6 times, last 8 months ago
1 unregistered visitors

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    System memory 259522560 must be at least 4.718592E8. Please use a larger heap size.

    at org.apache.spark.memory.UnifiedMemoryManager$.getMaxMemory()
  2. org.apache.spark
    UnifiedMemoryManager$.apply
    1. org.apache.spark.memory.UnifiedMemoryManager$.getMaxMemory(UnifiedMemoryManager.scala:193)
    2. org.apache.spark.memory.UnifiedMemoryManager$.apply(UnifiedMemoryManager.scala:175)
    2 frames
  3. Spark
    SparkContext.<init>
    1. org.apache.spark.SparkEnv$.create(SparkEnv.scala:354)
    2. org.apache.spark.SparkEnv$.createDriverEnv(SparkEnv.scala:193)
    3. org.apache.spark.SparkContext.createSparkEnv(SparkContext.scala:288)
    4. org.apache.spark.SparkContext.<init>(SparkContext.scala:457)
    4 frames
  4. Unknown
    LogQuery.main
    1. LogQuery$.main(LogQuery.scala:53)
    2. LogQuery.main(LogQuery.scala)
    2 frames
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  6. IDEA
    AppMain.main
    1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
    1 frame