I do not kill APP. It crash, so it is somethink different.
You are right but is is also a way to test if memory is correctly clean after a bad exit.
That the memory is not complet free don't happn all the time, but offen I loose some memory in a crash and sometime a lot, like you see in the screenshot.
AutoPano does not count the inactive memory as free memory because it does not know when it will be. Certainly PaintShopPro takes in account the inactive memory as free that is explain the difference.
Thats why I wrote:
Is there a better way to make the RAM free for APP or could APP not work like Photoshop.
Because the way PS works is that it also can take memory from APP. Example: APP render somethink use 8,5 GB, than APP is finished with render and I open the Panorama, then APP loose 4 GB to PS and PS has 4GB. That is smart.
So it would super when APP could also take inaktiv RAM.
I get the feeling that you are not interested to find a solution.
Be sure memory management is really important for us. We fix a problem of APP crash on exit on MacOS, it could explain some memory leaks (and perhaps the cause of your large inactive memory).
For inactive memory, before taking it, we must be sure that we will not offer more free memory than really available on the system. I will continue to check my memory while developing in order to reproduce the problem.