Windows Phone Thoughts - Daily News, Views, Rants and Raves

Check out the hottest Windows Mobile devices at our Expansys store!


Digital Home Thoughts

Loading feed...

Laptop Thoughts

Loading feed...

Android Thoughts

Loading feed...




Go Back   Thoughts Media Forums > WINDOWS PHONE THOUGHTS > Windows Phone Hardware > Motorola Windows Phones

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-18-2005, 06:21 AM
John Cody
Theorist
John Cody's Avatar
Join Date: Aug 2006
Posts: 258
Default Apps unloading prematurely?

I started to get worried when I noticed my new MPX-220 would not allow me to have more then one app running in memory at a time.

For example, I would run PIE, then run WMP, and if I tried to switch back to PIE, it wasn't in memory and need to be reloaded!

Then I found a post in HowardForums.com that shed some light on this issue...

There is a registry location:

HKLM\SOFTWARE\Microsoft\Shell\LoMem

With a key name of: ProgramMem

I am thinking that this setting is a "Trigger" percentage of how much memory usage is allowed before the OS starts to close down apps to free more memory up.

When I checked this setting of my out-of-the box mpx-220, it was set to "18"!, which my guess would mean that as soon as my memory usage went above 18% (which any app would probably use that much when it loads), the OS starting killing all/any background apps. So, I set this to 80% and now multiple apps stay running in memory.

It is so ridiculous that the default setting was 18% :?
__________________
- John Cody
Windows Mobile Developer
www.OMNISOFT.com
 
Reply With Quote
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:32 PM.