Memory Error

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Memory Error

Yaseen Ladak
Dear All,

I am trying to load an image file approx. 3.5GB on my Mac mini running Max
OS X 10.6.8 version which has 8GB of RAM. I have set the memory usage to
5GB by going to Memory and threads section. Yet is gives me erro saying
unexpected image offset and if i use 32 bit version of image J it give me
an error indicating not enough memory.

Can someone please advise.

Best,
Yaseen
Reply | Threaded
Open this post in threaded view
|

Re: Memory Error

Melissa Linkert-2
Hi Yaseen,

> I am trying to load an image file approx. 3.5GB on my Mac mini running Max
> OS X 10.6.8 version which has 8GB of RAM. I have set the memory usage to
> 5GB by going to Memory and threads section. Yet is gives me erro saying
> unexpected image offset and if i use 32 bit version of image J it give me
> an error indicating not enough memory.

What is the full text of the "unexpected image offset" error that you see?
I would guess that this particular error is really a problem in reading
the file, and not a problem with how much memory you have allocated.

The out of memory message that you see is likely due to the fact that one
cannot allocate more than ~1.8 GB of memory in 32-bit versions:

http://rsbweb.nih.gov/ij/docs/install/osx.html#memory

Regards,
-Melissa

On Fri, Feb 10, 2012 at 06:34:13PM +0000, Yaseen Ladak wrote:

> Dear All,
>
> I am trying to load an image file approx. 3.5GB on my Mac mini running Max
> OS X 10.6.8 version which has 8GB of RAM. I have set the memory usage to
> 5GB by going to Memory and threads section. Yet is gives me erro saying
> unexpected image offset and if i use 32 bit version of image J it give me
> an error indicating not enough memory.
>
> Can someone please advise.
>
> Best,
> Yaseen
Reply | Threaded
Open this post in threaded view
|

Re: Memory Error

chenyanpei
In reply to this post by Yaseen Ladak
It is better: processing and saving while loading the new one

On 11 February 2012 02:34, Yaseen Ladak <[hidden email]> wrote:

> Dear All,
>
> I am trying to load an image file approx. 3.5GB on my Mac mini running Max
> OS X 10.6.8 version which has 8GB of RAM. I have set the memory usage to
> 5GB by going to Memory and threads section. Yet is gives me erro saying
> unexpected image offset and if i use 32 bit version of image J it give me
> an error indicating not enough memory.
>
> Can someone please advise.
>
> Best,
> Yaseen
>



--
Chen Yanpei, phD
MssMat
Ecole Centrale Paris
Grande voie des vignes
92295 Châtenay Malabry
Paris, France
Reply | Threaded
Open this post in threaded view
|

Re: Memory Error

Michael Schmid
In reply to this post by Yaseen Ladak
Hi Yaseen,

it would have been easier if you had written the file type.
Is it right that your file is an image stack, encoded as tiff?
And if so, is it zipped? Plain (raw) tiff or somehow encoded?
8-bit gray, 16-bit, float, or RGB?

Could you switch on 'debug mode' in Edit>Options>Misc, try opening the image again, and post the debug info?


Michael
________________________________________________________________
On Feb 10, 2012, at 19:34, Yaseen Ladak wrote:

> Dear All,
>
> I am trying to load an image file approx. 3.5GB on my Mac mini running Max
> OS X 10.6.8 version which has 8GB of RAM. I have set the memory usage to
> 5GB by going to Memory and threads section. Yet is gives me erro saying
> unexpected image offset and if i use 32 bit version of image J it give me
> an error indicating not enough memory.
>
> Can someone please advise.
>
> Best,
> Yaseen