Login  Register

Memory runs out though plenty available (Mac)

Posted by D.S.Pedersen on Sep 15, 2008; 12:33pm
URL: http://imagej.273.s1.nabble.com/Memory-runs-out-though-plenty-available-Mac-tp3695095.html

Hi all

I sit and would like to threshold LM images. My routine isn't that complicated:

1) Use colour thresholding (via a MBF-plugin) to threshold picture of GFAP positive neurons
2) The thresholded colour images is converted to 8-bit grey scale
3) Normal thresholding
4) Load my pre-saved ROI on to the images (these are jpg, appr. 12-13 MB compressed and 69 MB in ImageJ)
5) Measure

This routine works well the first (few) time(s), then the Colour Threshold plugin sort of freezes (i.e. sliders can move, numbers don't) and closing and starting that plugin gives the message:

>>>>>>>>>>>>>>>>>>>>>>>>>>>
<Out of memory>
<All available memory (653MB) has been>
<used. Instructions for making more>
<available can be found in the "Memory" >
<sections of the installation notes at>
<http://rsb.info.nih.gov/ij/docs/install/>
>>>>>>>>>>>>>>>>>>>>>>>>>>>

I've tried to tweak the memory already but it won't allow me to have more than 659 MB / 2 threads. This should supposedly be sufficient for the routine, though there seem to be a problem of some kind.

Has anyone else experienced similar memory-related problems, or does anyone have a clever suggestion as to what can be done to avoid this issue?

Thanks in advance!
Dan


Additional info:
Running latest version of ImageJ (v1.41k)
Mac OS X Leopard, 2 GB RAM, w/ only Preview and Safari running
Macbook, 1. gen., 2 GHz CoreDuo, +30 GB available on disk.