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
In terminal use this command
sudo gedit /usr/bin/weka
Change the size in the line
MEMORY="256m"