| NEWS | | |  | | FORUMS | | |  | | FREEWARE | | |  | | ABOUT US | | |  | |
12-07-2005, 08:04 AM
|
#1 | | tired and confused...
Join Date: Aug 2003 Location: London
Posts: 1,921
| Dynamic heap post update 2.0 I just noticed something interesting! Prior to installing the update, a soft reset would completely restore and defrag the dynamic ram such that the largest available block was very close to the total heap available. Now when I reset, I get something like 4.2Mb free with only 2.5Mb as the largest block (these numbers are reported by PalmPDF which is how I first noticed). Can someone who hasnt installed the update (and who is running palmpdf confirm this??)
wierd and I remember Henk aka Metaview (the palmpdf developer) noting that on his TX, only half the dyn heap seems to be in a single block after reset, as is now the case for the updated LD. I wonder if Dmitry (the dynamic heap meister) has any comment on this?? |
| |
12-07-2005, 10:40 AM
|
#2 | | Software engineer/hacker
Join Date: Jan 2004 Location: Silicon Valley, CA
Posts: 5,061
| Quote: | Originally Posted by SoS I just noticed something interesting! Prior to installing the update, a soft reset would completely restore and defrag the dynamic ram such that the largest available block was very close to the total heap available. Now when I reset, I get something like 4.2Mb free with only 2.5Mb as the largest block (these numbers are reported by PalmPDF which is how I first noticed). Can someone who hasnt installed the update (and who is running palmpdf confirm this??)
wierd and I remember Henk aka Metaview (the palmpdf developer) noting that on his TX, only half the dyn heap seems to be in a single block after reset, as is now the case for the updated LD. I wonder if Dmitry (the dynamic heap meister) has any comment on this?? |
it is hard to defrag the heap as most (if not all things in there are non-movable chunks. I do have control of wehre things are allocated (i can force all (or some) allocs specifically to begining or end of heap but i doubt this woudl help unless you track down every alloc and tell me who, when, and why allocates the offending chunk in the middle of the heap.
I did however notice this problem and i made a very specific to my software configuration fix. if you are very risky, you can try it. worst case it will force a hard reset, best case it will work.
__________________ Annoying me is NOT an approved way of encouraging me to produce software My software:PowerSDHC, PowerDrive, nuRom, UDMH, warpSpeed, PowerDiGi, brightnessFix, etc... Get it all here:http://www.PalmPowerups.com |
| | | Thread Tools | Search this Thread | | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 07:11 AM. | |