I don't really have "my code", I was just running example program in : examples/src/main/scala/org/apache/spark/examples/mllib/BinaryClassification.scala
What I did was simple try this example on a 13M sparse data, and I got the error I posted. Today I managed to ran it after I commented out the prediction part. -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Error-when-testing-with-large-sparse-svm-tp9592p9884.html Sent from the Apache Spark User List mailing list archive at Nabble.com.