Author Topic: OPut of memory during HDR composition  (Read 2807 times)

Offline federico

  • Newcomer
  • Posts: 30
  • A brilliant future behind
    • Business site
OPut of memory during HDR composition
« on: 2011 February 14 04:27:54 »
Hi,
HDRComposition continues to fo out of memory, but PI is the only program running, plenty of memory available.
WinXP 32 bit - 4 GB of memory, max occupied by PI duiring session: 840MB.
There are only 2 images, and both have been processed by Histogram

Code: [Select]
*******************************************************************************
HDRComposition: Beging process
Images to combine, sorted in growing order of exposure time:
E:/challenge/M42_Core.fit
E:/challenge/M42_Outer_elab.fit
*******************************************************************************


Reading image:
E:/challenge/M42_Core.fit
Reading FITS: 32-bit floating point, 3 channel(s), 3906x2602 pixels: 100%

Reading image:
E:/challenge/M42_Outer_elab.fit
Reading FITS: 32-bit floating point, 3 channel(s), 3906x2602 pixels: 100%
** Warning [156]: C:/Programmi/PixInsight/src/scripts/HDRComposition.js, line 171: assignment to undeclared variable point

PixelMath: Processing view: M42_Core
Writing swap files...
62.03 MB/s
Calculating view statistics...
Solved 1 invariant subexpression(s).
Executing PixelMath expression: combined RGB/K channels:$T - Med(bA) + 0.05: 100%
Truncating to [0.0000000000,1.0000000000]: 100%
0.500 s

PixelMath: Processing view: M42_Outer_elab
Writing swap files...
58.60 MB/s
Calculating view statistics...
Solved 1 invariant subexpression(s).
Executing PixelMath expression: combined RGB/K channels:$T - Med(bA) + 0.05: 100%
Truncating to [0.0000000000,1.0000000000]: 100%
0.454 s
 aLh 0.6938696503639221,0.6844624876976013,0.6835164427757263
 aSh 0.10681696236133575,0.10095750540494919,0.10381857305765152
 aLl 0.2695162892341614,0.26815059781074524,0.26607537269592285
 aSl 0.07185854762792587,0.0677691325545311,0.06765469163656235
 S: 0.08238043558872657,0.07971997355020996,0.08663230336721688

PixelMath: Processing view: LongPrim
Writing swap files...
65.90 MB/s
*** Error: Out of memory
Reading swap files...
824.80 MB/s
<* failed *>
What is happening?

Federico

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: OPut of memory during HDR composition
« Reply #1 on: 2011 February 14 05:48:53 »
Hi Federico,

This happens with the old HDRComposition script. You should use the new HDRComposition tool, which you'll find under the ImageIntegration category, on the Process Explorer window. This tool works much better than the script and does not have these memory consumption problems.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/