Re: Memory usage in WEKA segmentation
Posted by ben_king on Nov 18, 2015; 9:16pm
URL: http://imagej.273.s1.nabble.com/Memory-usage-in-WEKA-segmentation-tp5014961p5014972.html
Problem solved - there was a system environment variable _JAVA_OPTIONS containing "-Xmx512m." I must have. I noticed it when I went to make an environment variable to try other javas.
I changed the _JAVA_OPTIONS environment variable to -Xmx10g and then IJ loads with/uses upto 10g.
Curiously, I tried deleting the environment variable and setting -Xmx256m in ImageJ.cfg, but IJ still uses over 256MB so I don't know what is limiting IJ memory usage without the environment variable. Maybe the system needs to restart for it to take effect.
Thanks for all your help, Curtis!