UberActive

…is neverMind

Posts Tagged ‘wm5’

Blackjack 2 Firmware – Crippled RAM? An update…

Posted by sleewok on 2008, January 14

I put a lot of time looking into the problem over the weekend and I believe I have solid evidence to show that the firmware has crippled the BJ2 so that only 64MB of RAM is actually used.

WM_Hibernate

WM_Hibernate comes from the .NET CF 2.0 class MobileDevice. This class provides an event handler that is called Hibernate and provides access to the wm_hibernate message [2005-Wilson], .

Performance Implications

Obviously this will have a negative impact on the overall performance, but even greater impact on switching between applications. A message, call wm_hibernate, is sent at specific times once a certain amount of memory is in use. The closer you get to that memory threshold, the more frequently the message is sent to applications [2006-Derks]. Depending on the application, several things may take place. Resources in the application may be freed up/closed. It’s important to note that the threshold values can be modified by the OEM.

This can not only hurt performance when switching back to an application that has released resources, but can also affect the performance of your current application. If the response to wm_hibernate has been poorly implemented into an application, or the function performed is intense, you could see a slow-down for your entire system.

You may have noticed that many WM applications do not have the option to fully close or exit the application. Developers wanted to simplify memory management for application developers. After a period of time, if the memory has not been reduced enough the OS will close the least recently used application.

More Soon…

I plan on putting together a more organized report on my findings and a few more technical details within the next couple days.

Until then…

References:

2005-Wilson url
You Can Take It With you
wilson, J.
2005
2006-Derks url
How the Windows Mobile 5.0 Shell Handles Low Memory Situations
Derks, P.
2006

Generated on 2008.01.14 04:11:30 EST

1 John 4:20-21“If anyone says, “I love God,” yet hates his brother, he is a liar. For anyone who does not love his brother, whom he has seen, cannot love God, whom he has not seen. And he has given us this command: Whoever loves God must also love his brother.”Brought to you by BibleGateway.com. Copyright (C) NIV. All Rights Reserved.
Advertisements

Posted in Windows Mobile | Tagged: , , , , , , , , , , , , , , | 1 Comment »