whatever you're doing, you're doing it wrong
allocating this kind of memory on PalmOS is a strong indication that
you're going about your task COMPLETELY wrong.

reconsider your task and the way you go about it

consider hiring someone who's got real experience programming in
low-memory environments. PalmOS is not a desktop OS, and this desktop
idea of randomly allocating huge memory chunks will not work here!


On 4/21/08, Vivian Chen <[EMAIL PROTECTED]> wrote:
>
>
> yes, about 1.9M. But I try to allocate 1M , it still failed.
>
>
> 2008-04-22 ________________________________
>
> Vivian Chen ________________________________
>
> 发件人: Luc Le Blanc
> 发送时间: 2008-04-22  12:42:08
> 收件人: Palm Developer Forum
> 抄送:
> 主题: re: How to allocate more than 64KB?
>
>
> Vivian Chen wrote:
>
> > I want to allocate more than 64KB, how can I do?
>
> > I try to call MemGluePtrNew(), but it return
> 0x00000000(failed).
>
> > My program is:
>
> > unsigned long size = 1024ul*1024ul*2;
> > void* p = MemGluePtrNew(size);        //return failed
>
> > Why?
>
> That's 2Mb. Did you check the free heap space before?
>
>
> Luc Le Blanc
> --
> For information on using the ACCESS Developer Forums,
> or to unsubscribe, please see
> http://www.access-company.com/developers/forums/
>  --
> For information on using the ACCESS Developer Forums, or to unsubscribe,
> please see http://www.access-company.com/developers/forums/
>


-- 
Best Regards,
Dmitry Grinberg
(847) 226 9295

-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to