Hi friends,
Im getting the following error when i try to execute a java program which uses weka.jar
first i tried using a input file(arff) of 8 mb size it worked fine and got desired output
But in second attempt i tried using a bigger file of 20mb size then it is giving the following error. Irony is that the above two files are testing files only. original file i have to use is of 130MB. Please help me with this.
I tried editing the myeclipse.ini file with no use.
Exception in thread “main” java.lang.OutOfMemoryError: Java heap space
at weka.core.converters.ArffLoader$ArffReader.getInstanceFull(Unknown Source)
at weka.core.converters.ArffLoader$ArffReader.getInstance(Unknown Source)
at weka.core.converters.ArffLoader$ArffReader.readInstance(Unknown Source)
at weka.core.converters.ArffLoader$ArffReader.readInstance(Unknown Source)
at weka.core.converters.ArffLoader.getDataSet(Unknown Source)
at weka.core.converters.ConverterUtils$DataSource.getDataSet(Unknown Source)
at WekaTest2.main(WekaTest2.java:17)