3.5 and below: 
http://www.palmos.com/dev/support/docs/palmos/PalmOSCompanion/Memory.html#1025909

4.0 and above: all different.

here are some:
T5: 4MB
E2: 6MB
TH55: 8MB
TT: 800K
TX: 6MB

On 8/30/06, Jeff Ondich <[EMAIL PROTECTED]> wrote:
Thanks, Dmitri.

One follow-up question.  Do any of you know of a list of the various
heap sizes made available by different versions of Palm OS?  (Or maybe
it varies by device, too?)

Thanks,

Jeff


Dmitry Grinberg wrote:
> if you're feeling lucky:
>
> HwrEnableDataWrites(true);
>
> PilotMain();
>
> HwrEnableDataWrites(false);
>
>
> and replace all calls to MemPtrNew(sz) with MemChunkNew(1,sz,0x203);
> and all MemHandleNew(sz) with MemHandleNew(1,sz,3);
>
> this will work on OS2.0 - 5.2.1. In all OS versions after 5.2.1 the
> HwrEnableDataWrites() call is ignored.
>
>
>
> prototype:
>
> void HwrEnableDataWrites(Boolean enable)
>  SYS_TRP(sysTrapHwrEnableDataWrites);
>
> On 8/30/06, Jeff Ondich <[EMAIL PROTECTED]> wrote:
>> My application needs about 300-400KB of dynamic heap space to run.
>> When I run it on POSE with Palm OS 4.0 and 8MB of memory, it crashes.
>> A bit of investigation shows me that I have three heaps on card 0,
>> like so:
>>
>>   ID 0: 250KB, dynamic
>>   ID 1: 7.75MB, not dynamic
>>   ID 2: 2.3MB, not dynamic
>>
>> Most of the 7.75MB is unused.
>>
>> Is there any way for me to expand my dynamic heap space?  I'm even
>> willing to rewrite the C++ new operator if that would help.
>>
>> Thanks,
>>
>> Jeff Ondich
>> [EMAIL PROTECTED]
>>
>> --
>> For information on using the PalmSource Developer Forums, or to
>> unsubscribe, please see http://www.palmos.com/dev/support/forums/
>>
>
>

--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/



--
Best Regards, Dmitry Grinberg
Software Engineer, http://PalmPowerups.com
(847) 226 9295
AIM: DmitryGrinberg
MSN: [EMAIL PROTECTED]
ICQ: 165589894
Y! IM: dmitrygr2003

--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to