- مبلغ: ۸۶,۰۰۰ تومان
- مبلغ: ۹۱,۰۰۰ تومان
In mobiles, primary memory is a paramount resource and thus utilization of this resource should be optimum. As RAM (Random Access Memory) is a “costly” affair, it should be utilized at optimum to hold the data that is directly accessible by the processor. Researchers are working in the computer fraternity to maximize the performance of this resource. In this paper, we discuss the current challenges which the programmers faced while programming the RAM in mobile phones and propose some optimum solutions in order to solve the issues. We discussed various factors like Object Creation, Use of Primitive types, Static Constants, Hidden Cost of Abstractions, data, containers, caching policies and services to optimize the RAM performance. A comparison regarding the performance of the two different operating system mainly Android and iOS is also stated.
In this paper, we discussed various approaches such as object creation avoidance to avoid garbage collection, use of primitive types over objects as it requires less memory, using of static constants over enums as it requires half the memory, freeing of inner classes, the hidden cost of abstractions in terms of multiple layers, efficient use of services, use of optimized data containers in case of a large number of entries, caching policies to be used, services and some programming styles modified in order to reduce the consumption memory by processing maintaining high responsive time to users.