Hi Erel,
I am working on an sms interceptor app. I observed and see that my app is running using 18 - 20Mb of memory, which is too high comparing with other softwares (in my phone, normally they are using min 4 - max 10Mb in average). After a while, I discovered that my Service (sms interceptor) is "eating" a lot of memory.
To confirm which part in my app is causing high memory "consumption", I make a simplest test project (please see attached) with a Service. Amazingly, this single and simple service is running at a very high memory consumption 10Mb - 11Mb (we can see that in the Running Service / Settings).
1) Is it normal that such app is "eating" 10Mb in B4A? It is actually a very simple project, my real app is much more complicated and is expected to consume much more memory...and which is not acceptable for me (I believe 4 - 5Mb is ok?)
2) How can I reduce the memory footprint of my running app?
Thank you very much.
Regards,
I am working on an sms interceptor app. I observed and see that my app is running using 18 - 20Mb of memory, which is too high comparing with other softwares (in my phone, normally they are using min 4 - max 10Mb in average). After a while, I discovered that my Service (sms interceptor) is "eating" a lot of memory.
To confirm which part in my app is causing high memory "consumption", I make a simplest test project (please see attached) with a Service. Amazingly, this single and simple service is running at a very high memory consumption 10Mb - 11Mb (we can see that in the Running Service / Settings).
1) Is it normal that such app is "eating" 10Mb in B4A? It is actually a very simple project, my real app is much more complicated and is expected to consume much more memory...and which is not acceptable for me (I believe 4 - 5Mb is ok?)
2) How can I reduce the memory footprint of my running app?
Thank you very much.
Regards,
Attachments
Last edited: