今天在win7下裝weka發現運行不了,後來下載了jdk 1.6 64bit之後,正常安裝了 weka 3.7 現在正常運行,但是載入基因表達數據集後運行filter跳出錯誤警告如下:
Error Message
Not enough memory. Please load a smaller dataset or use larger heap size.
原因:
This error message appears when a user attempts to load or process a dataset that WEKA can not handle with the used heap size.
解決方案:
The Java heap size can be specified with the -Xmx option.
Let the classpath that contains a JAR file (weka.jar) be:
C:/Matlab/weka-3-5-7/
E.g., to use 256MB as heap size, the command line looks like this:
C:/Matlab/weka-3-5-7>java -Xmx256m -jar weka.jar