Home > database >  Weka run data displayed when insufficient memory (I lay, solving), please the great god
Weka run data displayed when insufficient memory (I lay, solving), please the great god

Time:09-30


These are not make, search on the net have no maxheap=the line
The most simple way:

Recently found a better solution, into weka installation directory to find RunWeka. Ini, change the maxheap=128 m to 400 m, this super convenient O (studying studying) O ~, solved my memory and complex cases libsvm below situation, meditation for a long time didn't find a solution, the original that simple,

This is complex: (seems to do not have what meaning,,,)



1, run inside enter CMD

2, Java - Xmx400M - jar weka. Jar weka is set to 400 m, of course, can be arbitrarily set

Problem a:

Possible error: Unable to access jarfile weka. Jar

I think may be environmental variable is set, the system cannot find the package, of course, you can reset the environment variables, I think it is very troublesome,,,

The solution:

Java - Xmx400M - jar D: \ \ Program Files \ Weka - 3-5 \ Weka jar here input Weka. Jar full path

Problem two:

Then I met, the problem is: Unable to access jarfile D: \ \ Program at this time because the path name has a space between

The solution:

Method one: you can change the file name the Program Files for Program_Files or ProgramFiles, anyhow to remove the blank line, of course, the Program Files can't modify the file name, the installer will find, after the modification of the system will not allow you to modify,

Method 2: enter the weka. Jar directory, then run the Java - Xmx400M - jar weka. Jar

CodePudding user response:

A full path to the file space, can use double quotation marks,