Re: Problem loading large ARFF file in Weka 3.8.6

[email protected]
Newsgroups gmane.comp.ai.weka
Message-ID <164864516265.1871.8990073331798989047@sys-mailman-prd.its.waikato.ac.nz>
Hi mate,
Yes, you need to change the configuration file, "runweka.ini" in the main Weka folder.
I had the same problem, as Weka got installed with only 8GB allowance, while the system itself uses about 6GB (with all the extensions I have installed). I have 32GB on my system, so I decided to give Weka 16GB to play with.
First check how much your Weka installation is allowed to use at the moment- in Weka GUI Chooser go to Help/ System Info and find "memory.max" - there you will see how much memory you are using at the moment. Then decide how much more you might need, just remember to leave something for the OS itself :)
In order to do that you need to edit the above mentioned file and find this part of code :

# the heap size (or any other JVM option)
javaOpts=%JAVA_OPTS%

-and just below that add:
javaOpts=%JAVA_OPTS% -Xmx16g
-where "g" means GBytes, "m" will count as MBytes and so on.

Restart weka, check system info again to confirm that it worked.
Job done :)
Regards
_______________________________________________
Wekalist mailing list -- [email protected]
Send posts to [email protected]
To unsubscribe send an email to [email protected]
To subscribe, unsubscribe, etc., visit https://list.waikato.ac.nz/postorius/lists/wekalist.list.waikato.ac.nz
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.