0

I face issues when I want to do the "cluster function" in weka. When I click the start button, it shows like this

enter image description here

I searched on google the solutions, mostly is outdated due to old version or I didn't unerstand it, how I can increase it

Note: I installed last version of weka

  • [Please do not upload images of code/data/errors](//meta.stackoverflow.com/q/285551). Instead, please post them [using a code block](https://meta.stackoverflow.com/questions/251361/how-do-i-format-my-code-blocks). Instead, please use code blocks for that. Aside from that, did you try increasing the maximum heap space using `-Xmx`? – dan1st Feb 09 '23 at 13:15
  • I tried, but I didn't know what the correct to place Xmx, should I put it in CL or in weka.ini? – free accountsuad Feb 09 '23 at 13:30
  • Is there any place for jvm arguments/VM args or something similar? Do you execute a `java` command anywhere? Normally, it's `java -Xmx2G ` or similar. Alternatively, you could try adding it (e.g. `-Xmx2G` for a heap size of 2GB) to the `JAVA_OPTS` environment variable – dan1st Feb 09 '23 at 15:53
  • Also see [Increase heap size in java for weka](https://stackoverflow.com/q/8662781) - Does that help? – dan1st Feb 09 '23 at 15:54

1 Answers1

0

Set the _JAVA_OPTIONS environment variable as per OutOfMemoryException FAQ on the Weka wiki.

For setting environment variables on Windows, please see here:

fracpete
  • 2,448
  • 2
  • 12
  • 17