I'm getting a MALLOC_FAILED error message when I run mosaic.pl. Help!
Posted by IRSA HelpDesk on 11 March 2013 01:51 PM
I'm getting the following error message when I run mosaic.pl: |
Pipeline Module MOSAIC_COADD Version 2.5
Processing time Tue Jan 20 18:11:26 2004
Error in allocating memory for Coverage Image for Tile 0
mosaic_coadd Error Message 0x0071: MALLOC_FAILED.
This is an indication that you are out of RAM. The chances are that you are trying to make a very big mosaic. First, make sure that this is what you actually want to do. Check the keywords NAXIS1, NAXIS2 in the Fiducial Image Frame file in your output directory (FIF.tbl). It is possible that a huge FIF was created because one or more images in the set have bad pointing. Verify that all the images have reasonable pointing. (headerlist.tbl). If you believe that the problem is real, i.e. you are actually trying to make a mosaic as big as it is in FIF.tbl, then use the tiling capabilities by specifying the tile size for the appropriate module in the namelist. For Mosaic Coadd (mosaic_coadd) and Mosaic Coverage (mosaic_covg) the keywords are:
TILEMAX_X = 1000,
TILEMAX_Y = 1000,
For Mosaic Outlier (mosaic_outlier) and Mosaic Dual Outlier (mosaic_dual_outlier) the keywords are:
TILE_XSIZ = 500,
TILE_YSIZ = 500,
See the MOPEX User's Guide for more information.