Re: PCA plugin
Posted by
Nathaniel Ryckman on
May 31, 2011; 8:29pm
URL: http://imagej.273.s1.nabble.com/PCA-plugin-tp3684411p3684413.html
Yeah, you probably guessed the cause of the problem.
The documentation says, "By default, ImageJ is configured to use around 256 MB maximum".
Here is the documentation explaining how to increase your memory:
http://imagejdocu.tudor.lu/doku.php?id=faq:technical:how_do_i_increase_the_memory_in_imagej
mungallj wrote
Dear All. I have been trying to run the PCA plugin without success. I have got to the point where it seems to be running but I get the following error messages:
java.lang.OutOfMemoryError: Java heap space
at bijnum.BIJutil.getFloatPixels(BIJutil.java:251)
at bijnum.BIJutil.matrixFromImageStack(BIJutil.java:115)
at bijnum.BIJutil.matrixFromImageStack(BIJutil.java:94)
at PCA_.run(PCA_.java:46)
at ij.plugin.filter.PlugInFilterRunner.processOneImage(PlugInFilterRunner.java:249)
at ij.plugin.filter.PlugInFilterRunner.<init>(PlugInFilterRunner.java:102)
at ij.IJ.runUserPlugIn(IJ.java:185)
at ij.ImageJ.runUserPlugIn(ImageJ.java:264)
at ij.plugin.PlugInExecuter.run(Compiler.java:264)
at java.lang.Thread.run(Unknown Source)
The stack I am working on comprises Landsat data, each slice being about 170 Mb in size - perhaps the files are too large?
any pointers would be most welcome!