Increase heap to avoid Out of Memory Error in WEKA

前端 未结 3 1355
北荒
北荒 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:30

    In terminal use this command

    sudo gedit /usr/bin/weka
    

    Change the size in the line

    MEMORY="256m"

提交回复
热议问题