在nutch/conf/mapred-site.xml文件中添加
<property>
<name>mapred.child.java.opts</name>
<value>-Xmx512m</value>
</property>
在nutch/conf/mapred-site.xml文件中添加
<property>
<name>mapred.child.java.opts</name>
<value>-Xmx512m</value>
</property>