Increase heap to avoid Out of Memory Error in WEKA

前端 未结 3 1353
北荒
北荒 2020-12-20 21:58

I am trying to run a classifier in WEKA, using a J48 classifier using the following command line:

$ java -Xmx2048m -cp /home/weka-3-7-9/weka.jar weka.classif         


        
3条回答
  •  鱼传尺愫
    2020-12-20 22:43

    Quick instruction for the Ubuntu-Users: The heap can be set by changing the line MEMORY="256m" in the file /usr/bin/weka with your favored editor.

提交回复
热议问题