Ben Combee replied:
>> The error, however, is NOT memErrNotEnoughSpace, but instead
>> "sysErrNoFreeResources." If you run any other program (say, MemoPad)
>> between launches, it allocates and runs fine. If you run it twice in a
>> row, whammo.
>
> From checking the Palm OS 3.5 source code, you will get a
> sysErrNoFreeResource error if BmpCreate isn't able to allocate enough
> memory. I'm not sure why they used this instead of the more common
> memErrNotEnoughSpace, but they mean the same thing in this context.
I still don't understand why I can get enough RAM the first time, exit,
and then fail to allocate enough RAM the second time. *Something* is
taking up that extra bit of RAM I need. What can eat RAM in between
launches of a program? Is there any house-keeping I can do to maximize
RAM at each launch time?
Does anyone else have any idea why BmpCreate would succeed once and fail
the next time the program is run? Obviously the default apps do
something *right* to clean things back up to an ideal state...
Thanks,
zane
--
r. zane rutledge [EMAIL PROTECTED]
http://www.rzanerutledge.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/