×
Namespaces

Variants
Actions
(Difference between revisions)

Comparing memory management on Symbian and Maemo Platforms

From Nokia Developer Wiki
Jump to: navigation, search
hamishwillee (Talk | contribs)
m (Automated change of text from Image:More_work_needed.gif to {{NeedsMoreWork}}. (Use template rather than image directly))
hamishwillee (Talk | contribs)
m (Hamishwillee - Fix categories)
Line 1: Line 1:
{{NeedsMoreWork}}<br>
+
[[Category:Maemo]][[Category:Symbian]][[Category:Porting]][[Category:Essential Idioms]][[Category:Base/System]]
 +
{{NeedsMoreWork}}
  
[[Category:Maemo]]
 
[[Category:S60]]
 
 
== Introduction ==
 
== 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.  
 
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.
 
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.
 
Every time the application makes a memory or resource allocation it needs to be able to handle an out-of-memory situation.
Line 17: Line 14:
 
== S60 Platform ==
 
== S60 Platform ==
  
[[CleanupStack]]
+
* [[CleanupStack]]
 
+
* [[Memory Management]]
[[Memory Management]]
+
* [[Two-phase construction]]
 
+
[[Two-phase construction]]
+
  
 
== Maemo Platform ==
 
== Maemo Platform ==
  
[http://maemo.org/development/documentation/manuals/3-x/maemo_coding_style_and_programming_guidelines/ Maemo Coding Style and Programming Guidelines]
+
* [http://maemo.org/development/documentation/manuals/3-x/maemo_coding_style_and_programming_guidelines/ Maemo Coding Style and Programming Guidelines]

Revision as of 05:58, 2 May 2012

Warning.pngThis article does not meet the wiki quality standards: Please make it more useful by adding links or additional information as discussed in the quality standards. When you have done so you can delete the {{NeedsMoreWork}} template from the article to remove this warning.

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

Maemo Platform

84 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×