问题描述
displayed message:
Not enough memory. Please load a smaller dataset or use larger heap size.
- initial JVM size: 15.5MB
- total memory used: 989.9MB
- max. memory avail.: 989.9MB
Note:
The Java heap size can be specified with the -Xmx option.
E.g., to use 128MB as heap size, the command line looks like this:
java -Xmx128m -classpath ...
This does NOT work in the SimpleCLI, the java command refers
to the one with which Weka is started.
方法一
C:\software\java -Xmx1024m -jar weka.jar
方法二:
RunWeka.ini
maxheap=1024m
再学习:
Your HEAP size limitation is not about your Operating System only. But your heap size may be limited by following factors.
- 32 bit and 64 bit OS
- Other programs running
- Your maximum physical RAM available in your machine
版权声明:本文为Marelin原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。