Your dynamic heap is limited to 256K w/ 4mb or more of system memory, of
which 64K is your global memory area.  I assume that is why you can only
allocate about 217K at most, although, it seems that the number should be a
bit lower, unless you can use part of you global memory (I am not sure on
that point).

I know you can use the file stream to create larger chunks of memory, but it
is in user storage, not in the dynamic heap.  Other than that I don't know
of anyway around it, and I have never tried it, just read about it.

Hope that helps,

Brad


"Garry Chiang" <[EMAIL PROTECTED]> wrote in message
news:99774@;palm-dev-forum...
>
> Hi all,
>
> Just wondering if PalmOS can allocate more
> than 256K using new / MemPtrNew / MemHandleNew ?
>
> Or maybe if anyone knows of ways to go around this
> limitation. The most I managed to allocate using
> new / MemPtrNew / MemHandleNew is about
> 217K to 218K, assuming that memory is allocated
> at early stage of the program (not fragmented).
>
> In future OS such as version 5, any plans to allow
> allocation of more memory, perhaps comparable to
> PocketPC OS?
>
> Thanks in advance.
> Garry
>
>
>
> __________________________________________________
> Do you Yahoo!?
> HotJobs - Search new jobs daily now
> http://hotjobs.yahoo.com/
>
>



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

Reply via email to