运行Hibench出现的问题

, Status : FAILED
Error:Java heap space

解决方法:
设置合适的mapred.child.java.opts,我设置成400m解决此问题,但是设置为300m仍然出错

mapred.child.java.opts
-Xmx400m
Java opts for the task tracker child processes.
The following symbol, if present, will be interpolated: @taskid@ is replaced
by current TaskID. Any other occurrences of '@' will go unchanged.
For example, to enable verbose gc logging to a file named for the taskid in
/tmp and to set the heap maximum to be a gigabyte, pass a 'value' of:
-Xmx1024m -verbose:gc -Xloggc:/tmp/@[email protected]

The configuration variable mapred.child.ulimit can be used to control the
maximum virtual memory of the child processes.



参考自:http://www.mail-archive.com/[email protected]/msg05128.html

你可能感兴趣的:(运行Hibench出现的问题)