Increase heap size in java for weka

后端 未结 17 1355
天命终不由人
天命终不由人 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:14

    If you run weka from the command line but not through java i.e. typing weka into the command line, instead of typing

    weka
    

    specify the memory flag

    weka -m 1024m
    

    This will specify 1024 megabytes.

提交回复
热议问题