Author Topic: Image container and rescale  (Read 3395 times)

Offline Harry page

  • PTeam Member
  • PixInsight Jedi Knight
  • *****
  • Posts: 1458
    • http://www.harrysastroshed.com
Image container and rescale
« on: 2009 July 25 04:59:59 »
Hi

I have to rescale my images for the image registration to work and I do this with the image container and apply the rescale to it
this works with up to about 50 images and then gets very slow ( Like nearly stopped)
I presume this is a memory problem  and is not a major problem as I can run it multiple times
Of course a rescale option in image registration would be the best option O:)

Anybody else had any other problems


Regards Harry
Harry Page

Offline georg.viehoever

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2132
Re: Image container and rescale
« Reply #1 on: 2009 July 25 05:25:54 »
Harry,
The behaviour you observe is consistent with RAM memory running short. Did you verify memory consumption, e.g. by monitoring with the Windows Task Manager or the Linux "top" command?

There have been several reports that PI sometimes does not release memory correctly while a process on many images is running, with ImageIntegration, ImageContainer and scripts. See for example
- http://pixinsight.com/forum/index.php?topic=1324.0
- http://pixinsight.com/forum/index.php?topic=1102.0
- http://pixinsight.com/forum/index.php?topic=1332.0

I understand that PI has very elaborate procedures for memory management, but apparently in some situation it is not optimal. The answer sometimes is "buy more RAM" (which is not always possible especially for Windows), and sometimes Juan was able to do something about it. I am certain he will look into it if you can help him to reproduce the issue. And maybe send him a bottle of Red Wine  ;) .
Georg (6 inch Newton, unmodified Canon EOS40D+80D, unguided EQ5 mount)

Offline Harry page

  • PTeam Member
  • PixInsight Jedi Knight
  • *****
  • Posts: 1458
    • http://www.harrysastroshed.com
Re: Image container and rescale
« Reply #2 on: 2009 July 25 05:48:54 »
Hi George

I will have a look at that sugestion

I am running vista 64 with 4 gig of ram ( as much as my laptop will manage )

do you think Juan will settle for a bottle of cherryade ;D

Harry
Harry Page