Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
OOM is happening on huge ParRanges toString #9888
In comparison with Range, where toString is overriden, ParRange is trying to output whole set of elements in the range, which is leads to OOM on 50mlns elements.
scala> collection.parallel.immutable.ParRange(1, 50000000, 1, true)
Imported From: https://issues.scala-lang.org/browse/SI-9888?orig=1