本文介绍了Weka GUI-内存不足,无法加载?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

过去曾为我加载过同样的Weka安装.我只是试图加载Weka GUI(双击图标),然后收到以下错误.我该如何解决?

This same installation of Weka has loaded for me in the past. I am simply trying to load the Weka GUI (double click on the icon) and I get the following error. How can I fix it?

OutOfMemory
Not enough memory.  Please load a smaller dataset or use a larger heap size.
- initial JVM size: 122.4 MB
- total memory used: 165.3 MB
- max. memory avail.: 227.6 MB

Note:
The Java heap size can be specified with the -Xmx option.
etc..

我不是从命令行加载Weka,那么如何阻止这种情况发生?

I am not loading Weka from the command line, so how can I stop this from occurring?

推荐答案

我不确定您为何能够使用它,但现在却不能使用.但是,可以通过更改RunWeka.ini配置文件来指定更大的堆大小.在Windows计算机上,它应该位于Program Files目录的Weka文件夹中.您可以尝试指定

I'm not sure why you were able to use it before but not now. However, you can specify a larger heap size by changing the RunWeka.ini configuration file. On a Windows machine it should be in the Weka folder of your Program Files directory. You could try a line specifying, for example,

maxheap=200m

该文件中可能已经有这样的选项,您可以简单地将其更改为更大的数字.

There might already be such an option in that file that you can simply change to a larger number.

这篇关于Weka GUI-内存不足,无法加载?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-23 14:34