Increase heap size in java for weka

后端 未结 17 1323
天命终不由人
天命终不由人 2020-12-14 08:27

I\'m trying to increase the heap size in java for weka which keeps crashing. I used the suggested line:

> java -Xmx500m -classpath

but

17条回答
  •  一生所求
    2020-12-14 09:25

    You need to specify a classpath after -classpath, similar to the PATH env variable you need to specify the path where Java can find the classes.

    The -Xmx500m setting looks fine, except that I would suggest to use 512m.

提交回复
热议问题