- Keep your application Simple and Small.
- Limit the use of memory
Avoid using object types.
- Always use minimum data type for storing data.
- Clean up the resources held by our program manually because even though garbage collector takes care of that we don’t know when it cleans up.
- Allocate an object immediately before the object is used in the application rather than at the beginning of your application.
- Set all references to objects to null once the application no longer needs the object. This decreases the memory application of the object to the minimum memory necessary to store the object references.
- Reuse the objects instead of creating a new object; this reduces both the memory allocation and the need for processing power.
- Reduce the exception thrown by our application because it reduces the memory.
- Offload computation to server.
- If application uses multiple screens make sure that each displays only relevant information.
- Application must accomplishes a task within 2 minutes otherwise the user is likely to turn off the mobile small computing devices.
- Limit the user input to few keystrokes.
- Avoid memory-consuming task such as communication, animation and sound.
- Reduce the data communication to minimum because users pay for transmission by byte usually in the range of 50,000 to 300,000 bytes per month.
- Pre load as many files as possible into a mobile small computing device in order to reduce data transmission.
- Always use a thread whenever an operation takes longer than a 10th of a second to run because a thread requires fewer overheads than non-thread innovation methods.
Leave a Reply