Answer question
AC800m HI - Heap Utilization - How much memory is needed to perform a warm download?
See the attached files for reference. This is a follow-up to this thread: https://forum-controlsystems.abb.com/...
The documentation says "As a general rule, an application should never exceed half the size of the available memory" and "The amount of spare memory must be at least 20% of available memory, and may require up to 50%.".
According the above thread, the memory used by the currently downloaded applications = "Max used Shared Heap" - "Used Shared Heap".
Is it right then to assume that as long as the following criteria is met, there will always be enough memory to perform a warm download?
A) "Non-used heap" >= "Max used Shared Heap" - "Used Shared Heap" and "Non-used heap" >= 20%
or perhaps this criteria?:
B) "Non-used heap" >= "Max used Shared Heap" - "Used Shared Heap" + "Max Used Protected Heap" and "Non-used heap" >= 20%
(I'm assuming that currently downloaded applications have constant memory usage, ie., there are no queues or arrays of varying size or anything)
The documentation says "As a general rule, an application should never exceed half the size of the available memory" and "The amount of spare memory must be at least 20% of available memory, and may require up to 50%.".
According the above thread, the memory used by the currently downloaded applications = "Max used Shared Heap" - "Used Shared Heap".
Is it right then to assume that as long as the following criteria is met, there will always be enough memory to perform a warm download?
A) "Non-used heap" >= "Max used Shared Heap" - "Used Shared Heap" and "Non-used heap" >= 20%
or perhaps this criteria?:
B) "Non-used heap" >= "Max used Shared Heap" - "Used Shared Heap" + "Max Used Protected Heap" and "Non-used heap" >= 20%
(I'm assuming that currently downloaded applications have constant memory usage, ie., there are no queues or arrays of varying size or anything)