Increase heap size in java for weka

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

    The official Weka answer (for all operating systems and Weka versions) can be found on http://weka.wikispaces.com/OutOfMemoryException.

    In case you are using a recent Weka version on Windows, the answer is:

    Modify the maxheap parameter in the RunWeka.ini file.

提交回复
热议问题