首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >生成火花时的错误-mllib_2.10

生成火花时的错误-mllib_2.10
EN

Stack Overflow用户
提问于 2015-07-09 19:50:09
回答 1查看 112关注 0票数 0

我检查了apache项目,试图构建mllib_2.10。但是,我得到了以下错误。我错过了什么?谢谢!

然后,我尝试在eclipse: Run -> Maven构建->目标: package中获得以下错误:

代码语言:javascript
复制
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "qtp913470727-59183"

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "sparkWorker2-akka.remote.default-remote-dispatcher-42"
Exception in thread "qtp913470727-59184" Exception in thread "qtp1386084932-462" Exception in thread "qtp1406684524-398" 
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "qtp149043988-424"
Exception in thread "qtp1386084932-59186" 
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "qtp913470727-59184"
Exception in thread "qtp1406684524-397" java.lang.OutOfMemoryError: Java heap space
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "sparkWorker2-scheduler-1"

Exception in thread "qtp1386084932-455" Exception in thread "qtp1406684524-394" Exception in thread "qtp149043988-59182" Exception in thread "qtp913470727-467" java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
Exception in thread "Timer-4" java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
Exception in thread "qtp149043988-419" java.lang.OutOfMemoryError: Java heap space

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "sparkMaster-scheduler-1"
Exception in thread "qtp149043988-418" java.lang.OutOfMemoryError: Java heap space
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "sparkWorker1-akka.actor.default-dispatcher-52"

我已经在eclipse.ini中增加了内存,如下所示:

代码语言:javascript
复制
-XX:MaxPermSize=512m
-Xms128m
-Xmx2048m

有什么办法让这个东西在日食中工作吗?谢谢!

EN

回答 1

Stack Overflow用户

发布于 2015-07-09 21:51:35

如果您能够在命令行上成功地构建它,那么它也将在EclipsewithM2Eclipse中工作。

只要使用Run As - Maven构建.

并根据需要进行配置。

您看到的警告是关于Eclipse中的增量行为的,但是即使它们不完全匹配和工作,您仍然能够构建项目。

如果内存不足,可能是分配给Maven或Eclipse的方法。使用MAVEN_OPTS环境变量为Maven设置内存。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/31326932

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档