When use Mllib.Word2Vec, I meet the following error:
allocating large
array--thread_id[0x7ff2741ca000]--thread_name[Driver]--array_size[1146093680
bytes]--array_length[1146093656 elememts]
prio=10 tid=0x7ff2741ca000 nid=0x1405f runnable
at java.util.Arrays.copyOf(Arrays.java:2786)
Exception in thread "main" org.apache.spark.SparkException: Job aborted due
to stage failure: Task 736952.0:2 failed 1 times, most recent failure:
Exception failure in TID 21006 on host localhost:
java.lang.StackOverflowError
java.util.zip.GZIPInputStream.read(GZIPInputStream.java:116)
java.util.zi