Author Topic: Image Integration Error  (Read 3459 times)

Offline peter_4059

  • Newcomer
  • Posts: 5
Image Integration Error
« on: 2012 June 01 19:37:33 »
I'm having some difficulties using the image integration process.  After selecting the images and setting it running I get a Microsoft Visual C++ runtime error message.  Clicking OK causes Pixinsight to close.

I've attached a screenshot showing the error message and the process console showing the point in the process where it is failing - it appears to consistently be  after the noise evaluation just after the integration steps commence.

Any advice on how to rectifty this would be greatly appreciated.

Peter.

Offline mschuster

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1087
Re: Image Integration Error
« Reply #1 on: 2012 June 01 20:37:57 »
Did you try a pixel rejection other than none?

Offline peter_4059

  • Newcomer
  • Posts: 5
Re: Image Integration Error
« Reply #2 on: 2012 June 02 02:01:58 »
Yes I tried a few combinations of settings however it always seems to hang at the same point.

Offline peter_4059

  • Newcomer
  • Posts: 5
Re: Image Integration Error
« Reply #3 on: 2012 June 02 02:35:47 »
I've been doing some more tests on this tonight but still don't understand what's going wrong.  If I try to integrate 10 images it works fine (see first attachment).  If I try adding one additional image it crashes (attachment 2).  If I try integrating the last three images including the one that caused the crash in the previous step it works fine (attachment 3).


Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: Image Integration Error
« Reply #4 on: 2012 June 02 09:48:34 »
Hi Peter,

This is an out of memory error. It is already known; for example:

http://pixinsight.com/forum/index.php?topic=3877.msg26615#msg26615
http://pixinsight.com/forum/index.php?topic=3545.msg25047#msg25047

Please note that the 'Microsoft Visual C++ runtime error' is not being caused by PixInsight, but by a third-party library that is not part of the PixInsight application, but gets involved when an out of memory error happens.

The best way to fix this problem is installing a 64-bit operating system and a 64-bit version of PixInsight. If you cannot use a 64-bit OS for some reason, then you can fix the problem with ImageIntegration parameters. Quoting myself from one of the threads linked above:

Try decreasing the stack size parameter in ImageIntegration and perhaps also buffer size. As a proof of concept, try setting stack size to 100 MB instead of its default value of 1024 MB. Also try seting buffer size to 4 MB instead of 16 MB.

Also please bear in mind the following:

* Windows XP is no longer supported officially since September 2011. PI still works reasonably well on XP, except the update system, which is partially broken (no UAC support exists on XP). It will probably continue working for some time, but more and more issues will arise with each new version.

* All 32-bit versions of PixInsight are now considered obsolete. On Windows, we'll continue releasing a 32-bit version for compatibility with legacy laptops and desktop machines. On Linux and Mac OS X, no 32-bit version will probably be released anymore since PI version 1.8.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline peter_4059

  • Newcomer
  • Posts: 5
Re: Image Integration Error
« Reply #5 on: 2012 June 02 15:47:16 »
Juan,

Thanks for your assistance.  Looks like I need a new laptop.

Peter