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