Not enough memory. Please load a smaller dataset or use larger heap size.

来源:互联网 发布:mac推出flash player 编辑:程序博客网 时间:2024/05/22 11:34

今天在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
原创粉丝点击