You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:25:15 UTC

[jira] [Updated] (SPARK-15720) MLLIB Word2Vec loading large number of vectors in the model results in java.lang.NegativeArraySizeException

     [ https://issues.apache.org/jira/browse/SPARK-15720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyukjin Kwon updated SPARK-15720:
---------------------------------
    Labels: bulk-closed  (was: )

> MLLIB Word2Vec loading large number of vectors in the model results in java.lang.NegativeArraySizeException
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-15720
>                 URL: https://issues.apache.org/jira/browse/SPARK-15720
>             Project: Spark
>          Issue Type: Improvement
>          Components: MLlib
>    Affects Versions: 1.6.1
>         Environment: Linux
>            Reporter: Rohan G Patil
>            Priority: Major
>              Labels: bulk-closed
>
> While loading a large number of pre-trained vectors into Spark MLLIB's Word2Vec model, will result in java.lang.NegativeArraySizeException.
> Code - https://github.com/apache/spark/blob/master/mllib/src/main/scala/org/apache/spark/mllib/feature/Word2Vec.scala#L597
> Test with number of vectors greater than 16777215 with size of each vector 128 or more.
> there is Integer Overflow happening here. Should be an easy fix.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org