Sublime text editor crashes when evaluating large output for e.g
the below code snippet when evaluated would crash the editor
import scala.collection.mutable.ListBuffer
import java.util.{ArrayList => jal}
val lb = ListBuffer[String]()
lb += "a"
lb += "b"
val jl = new jal[String]()
jl.add("a")
jl.add("b")
val x = 90
x + 1
val b = (1 to 5000).toList.foreach(x => (1 to x).foreach(println))
Sublime text editor crashes when evaluating large output for e.g the below code snippet when evaluated would crash the editor