OUT OF MEMORY

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

OUT OF MEMORY

elenter
Hi, When starting DP, a message of out of Memory is stopping the process (when performing master calibration files).
I have already tried some tips from the forum such as increasing to 12000 Mb (my ram is 16000 Mb), but still fails...

[2024-08-28T19:49:43.829]  ERROR: Out of memory

With 27 flats and 21 darks I had that problem. I tried later with less darks and flats images (only 6 of each), and then it worked properly!

Could you give me a piece of advice on how to solve the issue in case I  need to use more flats/darks images? What is the recommended number of calibration images of each kind?

PD: I am running AIJ in a Macbook Pro, with 4 Tambien  storage, 16 Gb RAM, 2,3 GHz Intel Core i7, MACOS Sonoma 14.6.1)
The science images  are 670 (123 Mb each). The calibration images (flats, darks) are also (123 Mb each)

Thank you very much,
Reply | Threaded
Open this post in threaded view
|

Re: OUT OF MEMORY

karenacollins
Administrator
Ah, it's the huge size of your calibration images. AIJ opens all calibration images at once into memory to minimize master calibration file calculation times. The science images are only opened one at a time while processing.

I assume these images are from one of the new'ish breed of large pixel array CMOS cameras. This wasn't previously a problem since most CCD's topped out at 4kx4k, which gives a 32MB 16 bit image.

 If you do not have any other programs running, I would expect AIJ to be able to open about 90 of your darks and flats, so I'm not sure why your have a problem with 27 flats and 21 darks. Do you have any other programs running that might keep AIJ from having access to all of the 12GB that you allocated?

Also, we need to check to make sure that your memory allocation is getting registered correctly. When you open AIJ, please click on the bottom of the AIJ toolbar. After the click, it will show information that is useful to us. Can you copy it into your reply? One if the items (the last value before the precent value) is the amount of memory that is indeed allocated to AIJ (assuming no other program is blocking its use).

Karen
Reply | Threaded
Open this post in threaded view
|

Re: OUT OF MEMORY

elenter
HI,

Clicking on the bottom of AIJ Toolbar shows the following:

AIJ 5.3.4.02; ImageJ 1.54h2; Java 21.0.2 [64-bit], 6027k of 12000MB (<1%)

Thanks!
Reply | Threaded
Open this post in threaded view
|

Re: OUT OF MEMORY

karenacollins
Administrator
Ok, your memory allocation appears to be correct. Could you try running DP with no other programs open to see if it will load your full set of raw calibration files without running out of memory?

Karen