On Mon, 29 Mar 2004 18:37:03 +0530, wax wacky wrote:

> 
> thanks for your suggestions
> 
> but i am facing a problem . I want to allocate a memory of 99KB. and
> MemGlueNewPtr() is failing.
> the pointer is getting a null value.
> 
> Why this is happening??
> Any advice please ...
> 
> thanks
> wax
you probably run out of dynamic heap space. are you using a simulator,
device or emulator? older devices only have a few 100k of dynamic heap
space available. I suggest to closely look at what are you allocating and
deallocating. there are os calls which give you the available heap space
back. maybe use these to determine where you use up the memory if it is
not obvious by looking at the code.

Hope that helps,

Sebastian



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

Reply via email to