astromatic / sextractor

Extract catalogs of sources from astronomical images
http://astromatic.net/software/sextractor
GNU General Public License v3.0
154 stars 44 forks source link

Segmentation Fault for large images #59

Open Bovornpratch opened 1 year ago

Bovornpratch commented 1 year ago

Hi,

I am using sextractor for some large mosaic images (a few MegaPx^2 size) and sometimes during the analysis phase (before writing that catalog), sextractor crashes with a segmentation fault.

I found that increasing the MEMORY BUFSIZE, MEMORY OBJSTACK, and MEMORY PIXSTACK seems to resolve the issue in some cases. However, I am curious what is the actual reason in which causes this crash and how to avoid it.

mingyangzhuang commented 4 months ago

Hi @Bovornpratch

I also ran into this issue with a large mosaic (~100k x 100k pix^2). Could you share with me your MEMORY BUFSIZE, MEMORY OBJSTACK, and MEMORY PIXSTACK?

Many thanks!

Hi,

I am using sextractor for some large mosaic images (a few MegaPx^2 size) and sometimes during the analysis phase (before writing that catalog), sextractor crashes with a segmentation fault.

I found that increasing the MEMORY BUFSIZE, MEMORY OBJSTACK, and MEMORY PIXSTACK seems to resolve the issue in some cases. However, I am curious what is the actual reason in which causes this crash and how to avoid it.