Smartphone Thoughts - Daily News, Views, Rants and Raves

Be sure to register in our forums! Share your opinions, help others, and enter our contests.





Go Back   Thoughts Media Forums > SMARTPHONE THOUGHTS > Smartphone Articles & Resources

Reply
 
LinkBack (1) Thread Tools Display Modes
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 01-16-2006, 03:00 PM
Contributing Editor
Kris Kumar's Avatar
Join Date: Aug 2006
Posts: 5,160
Default Limit the Pocket IE Cache Size and Avoid Having Low Storage Memory

Do you surf the Internet a lot on your Smartphone's Pocket Internet Explorer browser? It is just a matter of time before you will run into the low storage memory alert. I know I did. Thanks to the sharp QVGA screen and EDGE speeds, I am browsing a lot. The first time I ran into the low storage memory error message, I thought that it was because of my overflowing Hotmail Inbox. But it turned out to be the Pocket Internet Explorer cache, which was holding about 4MB worth of temporary files.

User submitted image

The moment the pIE cache was cleared, my low memory problem was solved. Now I wanted to find out a way to put the pIE on a diet. Mike suggested a quick and simple registry tweak that limits the size of the pIE cache to a manageable level.

Code:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\Cache\Content]"CacheLimit"=dword:00001536
The default CacheLimit setting on my Cingular 2125 had a DWORD value 6126, which meant the maximum cache size was set to 6126KB, approximately 6MB. :? I lowered it to DWORD value 1536, which represents 1536KB (1.5MB). I would recommend a value between 1024KB (1MB) and 2048KB (2MB). Do not set a value lower than 512KB, because then the cache will not be effective. This tip works on both the Windows Mobile 2003 SE and the Windows Mobile 5.0 based devices. And is highly recommended to our readers who have recently enabled the keypad shortcuts in the pIE browser. ;-) Since this change involves editing the registry, I must warn our readers, please take care and backup the data if possible.
 
Reply With Quote
  #2 (permalink)  
Old 01-16-2006, 05:30 PM
Pupil
Join Date: Jun 2005
Posts: 22

This has been discussed many times in several different forums. This registry tweak wont stick after a soft reset on many pocket pcs and smartphones. For some reason, after a reset, the setting returns to its default. You might want to try a search on brighthand's forums.
 
Reply With Quote
  #3 (permalink)  
Old 01-16-2006, 05:45 PM
Intellectual
John Cody's Avatar
Join Date: Aug 2006
Posts: 247

Quote:
Originally Posted by martyh1
This has been discussed many times in several different forums. This registry tweak wont stick after a soft reset on many pocket pcs and smartphones. For some reason, after a reset, the setting returns to its default. You might want to try a search on brighthand's forums.
On my MPX-220, I did a soft-reset (via a utility), and a power off/on, and it remembered the setting

I also have my IE temp folder pointed over to my storage card so I don't use up any main memory, but I doubt this would be why it remembers the cache setting.
__________________
- John Cody
Windows Mobile Developer
www.OMNISOFT.com
 
Reply With Quote
  #4 (permalink)  
Old 01-16-2006, 05:49 PM
Intellectual
John Cody's Avatar
Join Date: Aug 2006
Posts: 247

I also noticed that no matter what I set this cache value to (I knew about this reg key a little while back), it doesn't seem to do much :cry:

Meaning, if I load a page, then click on a link on that page to go to another page, then press the back button, it seems like it takes just as long to load the first page as it did the first time it was loaded.
__________________
- John Cody
Windows Mobile Developer
www.OMNISOFT.com
 
Reply With Quote
  #5 (permalink)  
Old 01-17-2006, 04:43 AM
Contributing Editor
Kris Kumar's Avatar
Join Date: Aug 2006
Posts: 5,160

I believe if you use the storage card then the browsing would be slow. Isn't the storage card slower than the built-in storage memory? :?
 
Reply With Quote
  #6 (permalink)  
Old 01-17-2006, 04:53 AM
Contributing Editor
Kris Kumar's Avatar
Join Date: Aug 2006
Posts: 5,160

The settings are preserved between reboots on my 2125. I did read the readers' comments in the PPCT thread regarding the soft-reset problem. How can I soft-reset my device?
 
Reply With Quote
  #7 (permalink)  
Old 01-17-2006, 04:56 AM
Editor Emeritus
Mike Temporale's Avatar
Join Date: Aug 2006
Posts: 11,180

Quote:
Originally Posted by Kris Kumar
I believe if you use the storage card then the browsing would be slow. Isn't the storage card slower than the built-in storage memory? :?
Yes, flash memory is slower. I'm not sure how much this translates into what John is talking about though. I have noticed that Pocket IE doesn't seem to pull from the cache - ever.
__________________
"I have no special talents, I am only passionately curious" - Albert Einstein
 
Reply With Quote
  #8 (permalink)  
Old 01-17-2006, 04:59 AM
Editor Emeritus
Mike Temporale's Avatar
Join Date: Aug 2006
Posts: 11,180

Quote:
Originally Posted by Kris Kumar
How can I soft-reset my device?
Well, powering off and on the device is considered doing a soft reset. The only difference in what John is doing, is that it doesn't halt the phone. Once powered down, it will start booting up. I don't think there is anything technically different in the processes that are done.
__________________
"I have no special talents, I am only passionately curious" - Albert Einstein
 
Reply With Quote
  #9 (permalink)  
Old 01-17-2006, 05:00 AM
Intellectual
John Cody's Avatar
Join Date: Aug 2006
Posts: 247

Quote:
Originally Posted by Kris Kumar
The settings are preserved between reboots on my 2125. I did read the readers' comments in the PPCT thread regarding the soft-reset problem. How can I soft-reset my device?
As far as I know, turning off, then back on your smartphone is a "soft-reset" - because it actually goes through a "boot" sequence when powered on before you can use it. Whereas turning off a pocket PC just puts it into a suspend mode, and that's why it's instantly ready to use when you press the power ON button- and the way to soft-reset a PocketPC is typically done by inserting your stylus into a special "reset" hole on the device.
__________________
- John Cody
Windows Mobile Developer
www.OMNISOFT.com
 
Reply With Quote
  #10 (permalink)  
Old 01-17-2006, 05:03 AM
Intellectual
John Cody's Avatar
Join Date: Aug 2006
Posts: 247

Quote:
Originally Posted by Kris Kumar
I believe if you use the storage card then the browsing would be slow. Isn't the storage card slower than the built-in storage memory? :?
I just recently pointed the IE temp folder to my storage card so I would have max free main memory on my device. But, when it was pointed to the main memory, the cache still didn't seem to speed up anything
__________________
- John Cody
Windows Mobile Developer
www.OMNISOFT.com
 
Reply With Quote
Reply


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 On
Trackbacks are On
Pingbacks are On
Refbacks are On

LinkBacks (?)
LinkBack to this Thread: http://forums.thoughtsmedia.com/f96/limit-pocket-ie-cache-size-avoid-having-low-storage-memory-18235.html
Posted By For Type Date
Smartphone Thoughts: Limit the Pocket IE Cache Size and Avoid Having Low Storage Memory This thread Refback 06-04-2008 07:11 AM


All times are GMT +1. The time now is 11:33 PM.



Search Engine Friendly URLs by vBSEO 3.2.0 RC7