×
Namespaces

Variants
Actions
(Difference between revisions)

Comparing memory management on Symbian and Maemo Platforms

From Nokia Developer Wiki
Jump to: navigation, search
ebra (Talk | contribs)
(S60 Platform)
ebra (Talk | contribs)
Line 22: Line 22:
  
 
== Maemo Platform ==
 
== Maemo Platform ==
 +
 +
[http://maemo.org/development/documentation/how-tos/3-x/maemo_coding_style_and_programming_guidelines.html Maemo Coding Style and Programming Guidelines]

Revision as of 10:24, 28 December 2007

Introduction

Althought the latest mobile devices have a huge amount of memory available compared to the earlier devices, it is still important to work with memory carefully. The mobile devices are typically always on. The devices are not regularly rebooted and even a small memory leak will eventually cause problems. Many of the applications run in a mobile device are not stopped when user starts a new application. The previous application still runs in the background.


Whether the application is created with C (the native language for the Maemo Platform) or C++ (the native language for the S60 Platform) the application needs to make sure that it frees all the memory and resources that it allocates.


Every time the application makes a memory or resource allocation it needs to be able to handle an out-of-memory situation.

Comparing S60 and Maemo Platforms

S60 Platform

CleanupStack

Memory Management

Two-phase construction

Maemo Platform

Maemo Coding Style and Programming Guidelines

64 page views in the last 30 days.