Hi, I think there is an issue in `ExternalAppendOnlyMap.forceSpill` which is called to release memory when there is another memory consumer tried to ask more memory than current available.
I created a Jira and submit a PR for it. Please check out https://issues.apache.org/jira/browse/SPARK-18986. ----- Liang-Chi Hsieh | @viirya Spark Technology Center http://www.spark.tc/ -- View this message in context: http://apache-spark-developers-list.1001551.n3.nabble.com/java-lang-AssertionError-assertion-failed-tp20277p20338.html Sent from the Apache Spark Developers List mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe e-mail: dev-unsubscr...@spark.apache.org