Author Topic: Memory issue  (Read 924 times)

Offline hansheiser

  • Newcomer
  • Posts: 6
Memory issue
« on: 2017 November 26 00:57:39 »
Hello,

first of all, excuse my bad English !

I'm experiencing a problem with memory management within Pixinsight version v1.8.4 on a Win7 64bit machine.
When using the batch debayer script  (or using the debayer process on an image container) on many (~6000) images the system runs out of memory. Watching the task manager I can watch free memory continiously fading down until there is no memory left and then Windows freezing. When I stop batch debayering before this is going to happen, close and restart Pixinsight memory then there is free memory again but not all (15gb less then on a fresh system boot and YES -- I waited until Pixinsight is completely shut down as can be seen in the task manager under 'processes'). So the only conclusion for me is to permanently take care that there is a little memory left, do a reboot and then continue. I don't think it is a good idea to limit the assigned memory by changing memory in bcedit (Windows) and I don't know any other methods to limit the memory assigned to a program within Windows 7.

So, I have two questions about it:
Is that behaviour changed in Pixinsight version v1.85 ?
What can I do about it? I think there is a problem that Pixinsight does not really close an opened image after doing debayer and so memory use is growing.

The machine itself is running very stable. I'm on Win7 Pro SP1 x64, 32gb RAM, i7 2600 CPU, enough SSD space (3 disks), swap file is set to always 32gb.

Any help would be helpful  :)


Hannes


Offline dld

  • PixInsight Addict
  • ***
  • Posts: 132
Re: Memory issue
« Reply #1 on: 2017 November 26 01:30:54 »
Hello Hannes, and excuse my bad English too!

In 1.8.5 the BatchDebayer script got promoted to a Debayer process, which uses the available cores of your CPU more efficiently. If I remember well, the BatchDebayer script opened and closed (?) each image one by one. This is not the case for the new Debayer process. Myself usually have to debayer hundreds of DSLR frames and the Debayer process is a great tool. An upgrade to 1.8.5 should boost your workflow.

Offline hansheiser

  • Newcomer
  • Posts: 6
Re: Memory issue
« Reply #2 on: 2017 November 26 02:25:32 »
Hi "did",

okay, that is good news! I think I will then change to a dual boot system to be able to use both versions of Pixinsight. I still want to keep v1.8.4

Thank you for your respond!


Hannes

Offline hansheiser

  • Newcomer
  • Posts: 6
Re: Memory issue
« Reply #3 on: 2017 November 26 14:34:25 »
Found another solution to clean up memory and this one really works! I will have to schedule the little program to run once an hour or so ...

https://wj32.org/wp/software/empty-standby-list/

Maybe it helps somebody else.


Hannes