facebook

Exception in thread "main" java.lang.OutOfMemoryEr

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #311503 Reply

    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)

    #311510 Reply

    support-joy
    Member

    mamaji.pramod,

    I am afraid, this is not a MyEclipse issue. Can you take a look at this weblink and follow the recommendations – https://list.scms.waikato.ac.nz/pipermail/wekalist/2009-February/016166.html

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Exception in thread "main" java.lang.OutOfMemoryEr

You must be logged in to post in the forum log in