[Issues] Memory leak in ReduceTask recipe

Ewout M. Helmich helmich at astro.rug.nl
Wed Oct 11 18:53:41 CEST 2006


I have added various lines like "self.bias.image = None" in the 
ReducedScienceFrame class. Presumably that should fix (or at least 
drastically reduce) the problem. If you could check to see if the 
changes have helped, that would be nice.

Regards,
Ewout

Jan Snigula wrote:
> Hi all,
>
> there seems to be a severe memory leak in the ReduceTask recipe. When 
> reducing large numbers of observations, we reproducibly ran into 
> "cannot allocate memory" conditions. A solution might be to add free() 
> functions to the various *Frame classes, that could be called by the 
> Recipe in the loop over the observations, once one observation is 
> finished...
>
> Cheers,
>
> Jan
> _______________________________________________
> Issues mailing list
> Issues at astro-wise.org
> http://listman.astro-wise.org/mailman/listinfo/issues

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Drs. Ewout Helmich             <><>
Kapteyn Astronomical Institute <><> Astro-Wise/OmegaCEN
Landleven 12                   <><>
P.O.Box 800                    <><> email: helmich at astro.rug.nl
9700 AV Groningen              <><> tel  : +31(0)503634548
The Netherlands                <><>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



More information about the Issues mailing list