out of memory error in weka
I am using weka which is a open source data mining software.When I am using large dataset,it gives me out of memory error.
When I am trying to run a J48 algorithm,it gives an out of memory error and it suggesting me to increase Java virtual machine heap size
In the comment promt-(C:\user\xyz> )
I have typed the command
java -Xmx1g -C:\Program Files\Weka-3-6\weka.jar
"C:\Program Files\Weka-3-6\weka.jar"-the location of the jar file of weka
But this did not work.
Somewhere I have found the solution as
java -Xmx1g -classpath /some/where/weka.jar
Do I have to edit my class path
I have also tried with editing my class path
My previous class path
.;C:\Program Files (x86)\Java\jre6\lib\ext\QTJava.zip
.;C:\Program Files (x86)\Java\jre6\lib\ext\QTJava.zip;C:\Program Files\Weka-3-6\Weka.jar
But it also didnt work.
Please let me know how to increase the heap size.