Languages

Menu
Sites
Language
Out of Memory

I tried to launch all the applications using app_control APIs. But some of the applications are getting delayed to launch till the back button on mobile is pressed. How to write a code in Tizen studio to check memory and to kill some apps(say 10) so that the launching is continuous without delay.

Responses

1 Replies
Yasin Ali

Hi,

Probably you're trying to know how to check

size occupied by other apps or OS / size availablability(Is it possible to load apps on RAM).

There is a tool which you can be used in Native programming to check the memory status. In Tizen IDE help documents:

 

Tizen Mobile Native App Programming > Application Development Process > Running and Debugging Applications > Improving Application Performance

Valgrind Analysis of Native Applications

You can estimate any params as (CPU , memory) etc using Dynamic Analyzer tool (from Tizen sdk) after you launch any app, on chart : Memory->Total memory size/System memory size/ Process memory szie (for example).

Also possible to test the application for memory leak.

https://developer.tizen.org/ko/development/tizen-studio/native-tools/debugging-your-app/valgrind?langredirect=1

https://developer.tizen.org/ko/development/training/native-application/application-development-process/optimizing-application-performance?langredirect=1

Another interesting topic "Detecting Runtime Memory Errors with Address Sanitizer"

https://developer.tizen.org/ko/development/tizen-studio/native-tools/debugging-your-app/address-sanitizer?langredirect=1

Hope it'll help.