Jump to content


Sponsored Links

Recent Columns

  • James Norton's Photo
    The James Norton Column: MoDaCo reviews and battery tests

    The James Norton column

  • James Norton's Photo
    The James Norton Column: Camera Shoot-out

    The James Norton column

  • James Norton's Photo
    The James Norton Column: The MoDaCo Man

    The James Norton column


Recent Articles

  • icon
    Ask MoDaCo: The Vodafone Smart Tab 4G

    PaulOBrien -

  • icon
    HTC announces the RE camera

    PaulOBrien -

  • icon
    HTC announces the Desire EYE - a #selfie-centric device

    PaulOBrien -

  • icon
    Watch HTC's 'Double Exposure' Event live

    PaulOBrien -

  • icon
    Tesco announces the hudl2

    PaulOBrien -

  • icon
    MMW 85 - The Big Apple

    PaulOBrien -


Recent Article Comments

  • paulm663's Photo
    How to root your Hudl 2

    paulm663 -

  • Daniel Meah's Photo
    Ask MoDaCo: The Vodafone Smart Tab 4G

    Daniel Meah -

  • baraary's Photo
    Xposed: Macro / Text Expansion

    baraary -

  • rferrett's Photo
    Tesco announces the hudl2

    rferrett -

  • PaulOBrien's Photo
    HTC announces the Desire EYE - a #selfie-centric device

    PaulOBrien -

  • glossywhite's Photo
    HTC announces the RE camera

    glossywhite -


Sponsored Links

Recent Topics

  • eLJay's Photo
    Quick Tip - Google Now Launcher

    eLJay -

  • mb101's Photo
    kitkat icon statubar

    mb101 -

  • luca020400's Photo
    New Phone ??

    luca020400 -

  • schecter's Photo
    Bricked phone, Please help!

    schecter -

  • Rocket's Photo
    Hudl 2 update

    Rocket -

  • damjan_bujandric's Photo
    Installing Android 4 (KitKat) on my ZTE Blade 3.

    damjan_bujandric -


Recent Replies

  • masaliaja's Photo
    [Recovery] ClockWorkMod 6.0.5.0 for ZTE Open C / Kis 3

    masaliaja -

  • spanitzer's Photo
    [ROM][4.4.4][ALL] SlimKat 8.8 UNOFFICIAL [21/10/2014]

    spanitzer -

  • SeerJ's Photo
    Coolpad F1 8297w - Review / Info / Software / Custom Roms

    SeerJ -

  • punkzerboy's Photo
    [ROM][ALL][KK] Nameless Rom [18/10/14]

    punkzerboy -

  • punkzerboy's Photo
    [ROM] [ALL] [KK] Aospa 4.6 Beta 4 [14/10/14]

    punkzerboy -

  • sharl40's Photo
    [KERNEL] [Y300/G510] Stock Huawei

    sharl40 -


Sponsored Links



- - - - -

Windows Phone memory management, a brief guide


As an owner of a Nokia Lumia 610, I have seen many Windows Phone Applications terminate on me with OOM (Out of Memory) exceptions. Let me explain why.

A Windows Phone device with 512mb RAM uses it's RAM as follows:
  • Modem 30MB
  • Graphics 40MB including display buffers, video encode/decode, camera, etc
  • OS 50MB
  • Device drivers 40MB including system services, page pool, system caches, etc
  • Background audio 40MB plus various buffers
This leaves around 312MB for applications and games.

A Windows Phone device with 256mb RAM uses it's RAM as follows:
  • Modem 30MB
  • Graphics 40MB including display buffers, video encode/decode, camera, etc
  • OS 50MB
  • Device drivers 40MB including system services, page pool, system caches, etc
  • Background audio 40MB plus various buffers
This leaves around 56MB for applications and games!

To get around the paltry 56MB limitation for apps, Windows Phone Dev Center introduced Paging, also known as Virtual Memory, with Windows Phone SDK 7.1.1. This means that most applications running on a 256MB device will probably use Virtual Memory, as Windows Phone SDK has always had a 90MB recommended minimum memory usage cap. Some applications never use this minimum, but a lot of top applications do. On top of this, Windows Phone SDK 7.1.1 introduced a 110MB max memory cap for applications running on 256MB devices, any application requesting more than 110MB of physical and virtual memory will usually terminate with an OOM exception.

Sadly this 110MB cap never existed in Windows Phone SDK 7.0, and there are still a lot of applications in the Market Place that have not been refined to work within these limitations and the only way to find out is to have the application terminate on you halfway through what you have been doing.

Is there a way to see how much memory an application is using?

No there is not, because of the way Windows Phone multi-tasks, by freezing open apps and only letting the app you have displayed on screen work in full. Therefore you will only see the amount of RAM that application uses in standby, not in operation.

If you want to publish an app on the Windows Phone Market Place you must satisfy the Technical Certification Requirements: “5.2.5 Memory Consumption: An application must not exceed 90 MB of RAM usage, except on devices that have more than 256 MB of memory.”

There are ways for developers to track how much RAM their application uses. Unfortunately Microsoft have not forced all developers to fine tune their applications for the new Technical Certification Requirements.

The Windows Phone Market Place is also a very poor experience for a 256MB Windows Phone owner. Unlike the Google Play Store, the Windows Phone Market Place does not check what your device can not do. For example, my Nokia Lumia 610 does not have a compass, and as mentioned it only has 256MB RAM. But regardless of this, the Market Place shows every single application available to any device, and it's only when I click on it, that it suggests it may not be suitable as it requires a compass, or plainly tells me that it's unable to install.

A couple of examples: Google, Nokia City Lens, Pictures Lab and Skype.

Dear Microsoft: please fix the Market Place so it does not show applications that are not 100% compatible and do not work and please don't show applications that I cannot install.

Here's hoping the Windows Phone 8 user experience does not have the same pitfalls.

[Via: Windows Team Blog]

About the author

hecatae's Photo
Avaya, SIP, ISP Engineer by day, Android hack at night and weekends. Firefox OS looks pretty

  • 0


0 Comments