"manish jaggi" <[EMAIL PROTECTED]> wrote in message
news:62715@palm-dev-forum...
>
> I have a palm m100 (2 mb) and m105(8mb)
>
> In my application i have an array of size 28k (It is large i know)
> my OS is 3.x+ .
> My application runs fine on the m105 but gives a Not enough memory
error
Actually, its related to heap size. You have over three times as much
free heap space available on a m105 (256K dynamic space, 190K free)
versus a m100 (128K dynamic space, 56K free). Global variables get
allocated as one big chunk in the heap, which competes with MemPtrNew
and MemHandleNew allocations.
See the "Memory" chapter in the Palm OS Companion for details.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/