您的位置:首页 > 编程语言 > Java开发

java.lang.IllegalArgumentException: System memory ... must be at least ... Please use a larger heap

2016-02-17 02:30 639 查看

java.lang.IllegalArgumentException: System memory 259522560 must be at least 4.718592E8. Please use a larger heap size.



解决:

设置应用程序的 VM options

idea的设置路径在:Run -Edit Configurations-Application选择对应的程序,设置VM options,如下:

-Xms256m -Xmx1024m




scala ide下的设置为:

eclispe 中window->preferences->Java->Installed JRE ,点击右侧的Edit 按钮,在编辑界面中的 “Default VM Arguments ”选项中,编辑。

could not locate executable **winutils.exe in the Hadoop binaries

windows环境下,解决:could not locate executable **winutils.exe in the Hadoop binaries.问题:

ERROR Shell: Failed to locate the winutils binary in the hadoop binary path
java.io.IOException: Could not locate executable E:\hadoop-2.6.3\bin\winutils.exe in the Hadoop binaries.




解决:将winutils.exe文件导入到对应Hadoop的bin目录下面去,就搞定!(放到HADOOP_HOME对应的hadoop版本目录下面)

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: