is there any way to increase heap_size in weka 3.7.13 for executing the big data like 10 millions instances?

49 Views Asked by At

I am facing following issues in the weka 3.7.13 ;Latest version were not working on my system.

  1. inital heap =128MB ; Current (used)= 808MB; max available = 913MB;
  2. i set maxheap=2000M in runweka.ini , javaOpts=%JAVA_OPTS% -Xmx1024m
  3. package manager on tool are not working even no classifier are shown there.
1

There are 1 best solutions below

4
fracpete On

Go back to basics:

  • instead of downloading an installer, download the Weka release as zip file, e.g.g, stable version/other platforms (this can be used on all platforms, it just doesn't integrate itself into your Desktop; also doesn't require any admin rights)

  • unzip the downloaded archive

  • open a terminal (command prompt if you are on Windows), navigate to the directory where you unzipped the archive to and then into the directory that contains the weka.jar file

  • start Weka from the terminal using this command:

    java -Xmx2000m -jar weka.jar
    

You can then confirm the maximum memory in the GUIChooser:

  • Help -> System info
  • check value for memory.max