RSS
Follow Us
Contribute
 
 
 
 

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

 
We need YOUR SKILLS in this collaborative work, to build the largest solution center for error messages.

From $1

Table of contents
  1. 1. Error Message
  2. 2. Cause
  3. 3. Solution

Error Message

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

- initial JVM size: XMB

- total memory used: XMB

- max. memory avail.: XMB

Cause

This error message appears when a user attempts to load or process a dataset that WEKA can not handle with the used heap size.

Solution

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

 

Tags:
 
 
 
 
Comments