Share:

The problem with the data upload limit for attachments has been fixed. I have restored it to 30MegaBytes. A recent forum software upgrade was responsible for the changed limit. Please accept my apologies for missing this when upgrading the forum sofware, Mabula.

[Sticky] How much memory should I allocate to APP?  

  RSS

(@mabula-admin)
Quasar Admin
Joined: 2 years ago
Posts: 2117
15/06/2017 10:31 am  

Hi all,

In APP you need to tell APP (only once 😉 ) how much memory it's allowed to use.

If you click on the top left CFG button

app CFGButton

you can allocate more memory than the initial 2GBs of memory that APP is allowed to use when you install APP for the very first time.

You can set the amount to a maximum of your

maximum amount of RAM memory you can allocate = system RAM (in GBs) - 1 GB

so for an 8GB system, this means you can allocate 7GBs of RAM memory as a maximum.

A question that popped up:

I've allocated 6GB to APP, but it never uses more than about 2GB. Can it use more?

APP can and will definitely use more memory when required. If it isn't consuming more than 2GBs of RAM memory while processing your data, this simply means it doesn't need to allocate more memory to fully do it's processing on your particular data.

APP doesn't need a lot of memory actually to fully process regular stacks. With 2GBs of RAM memory you can process 20MegaPixels of RGB data (RGB data consumes three times more memory than monochrome data with the same amount of pixels), for instance, data shot with a Canon EOS 6D.

So with 6GB applied as the maximum that APP can use, APP will be able to handle much bigger frames.

The registration engine is benefiting if you let APP take more memory though, so I suggest to let APP use as much memory as you possibly can while keeping 1-2Gbs for your OS to be able to still do it's tasks. You want to prevent your OS from starting swapping.

The registration engine is a scaled engine for the maximum amount of RAM memory and the number of processors that you let APP use. If you have lots of stars in your images (>2500) then in the registration process it will run much faster if you have allocated more memory. This scaling works dynamically while registering your frames using all cores that APP is allowed to use, which you can also set. So multiple frames will be registered at the same time in APP.

For star counts in your images below 1000, the registration engine won't be slower with only 2GBs of memory.

In most cases, you will only need to supply APP with more than 4GBs for optimal registration speed and to be able to make integrations of big field of views, like big mosaics.

You might have noticed that APP hardly consumes any memory while performing the actual integration tasks due to file mapping of all the images of the stack.

So for memory usage in APP, the limiting factor that APP can handle is determined by the image dimensions and the number of channels (monochrome /RGB) that the data has.

If you Drizzle with a scale of 2x in 6)INTEGRATE for instance, then a 20 megapixel frame becomes 80MP (2x2=4). Then you will notice it will consume more memory probably.

Mabula

 

Main developer of Astro Pixel Processor and owner of Aries Productions


ReplyQuote
(@gregwrca)
Neutron Star Customer
Joined: 2 years ago
Posts: 223
16/06/2017 10:03 pm  

Well that answers that. Thanks.

GW


ReplyQuote
(@infosmidphotography-com)
Molecular Cloud Customer
Joined: 2 months ago
Posts: 5
19/06/2019 7:15 am  

Hi,

may i ask you how should I increase amount of RAM? If I click on CFG and use a slider, only number of threads is changing but memory is still the same, only 2GB. And I definitelly need more because my process finishes with missing memory. I use computer with 32GB RAM. So where is the mistake?

Regards,

Jan

 


ReplyQuote
(@vincent-mod)
Galaxy Moderator
Joined: 2 years ago
Posts: 585
20/06/2019 11:13 am  

You should be able to select the amount from the dropdown menu here:

Screenshot from 2019 06 20 11 11 50

Restart APP and it should be available.


ReplyQuote
(@infosmidphotography-com)
Molecular Cloud Customer
Joined: 2 months ago
Posts: 5
21/06/2019 6:42 am  

thanks a lot Vincent, but the main problem is that I don´t see any dropdown menu. I already reinstalled the app, but nothing changed...


ReplyQuote
(@wvreeven)
Red Giant Customer
Joined: 11 months ago
Posts: 52
21/06/2019 9:08 am  

Click the CFG button:

Screenshot 2019 06 21 at 09.05.48

Then you'll get the popup:

Screenshot 2019 06 21 at 09.05.59

 

HTH, Wouter

This post was modified 2 months ago 2 times by wvreeven

ReplyQuote
(@infosmidphotography-com)
Molecular Cloud Customer
Joined: 2 months ago
Posts: 5
21/06/2019 11:58 am  

In my previous post I wasn't as concrete as I was supposed to be ... when I click on CFG, no window opens ... when I click on License, the window opens, but not at the Configuration button. That's the problem...


ReplyQuote
(@infosmidphotography-com)
Molecular Cloud Customer
Joined: 2 months ago
Posts: 5
21/06/2019 12:04 pm  

screen


ReplyQuote
(@wvreeven)
Red Giant Customer
Joined: 11 months ago
Posts: 52
21/06/2019 2:06 pm  

What happens when you minimise the main window? Perhaps the popup is hiding behind it?


ReplyQuote
(@infosmidphotography-com)
Molecular Cloud Customer
Joined: 2 months ago
Posts: 5
21/06/2019 9:03 pm  

sadly not...

screen1


ReplyQuote
(@vincent-mod)
Galaxy Moderator
Joined: 2 years ago
Posts: 585
27/06/2019 8:15 pm  

Sorry for the delay.. this is a very interesting issue, never encountered it before. I'll tag Mabula so he can have a look (@mabula-admin).


ReplyQuote
Share: