October 2001
Intermediate to advanced
704 pages
19h 33m
English
You learned how memory is structured in the Palm OS. Of the two kinds of memory (ROM and RAM), we spent most of the time discussing RAM. It is the memory primarily available to applications. RAM memory is used for both application data and the dynamic memory in which an application’s stack and globals must run. We looked at the Memory Manager APIs and showed you some sample code to help clarify their use.
Next, we turned to the important discussions of how to work around some of the size limitations imposed on your data and how to use memory effectively given its scarcity. Last of all, we offered you some advice and a helpful sample program to let you test what happens when your pointer and handle allocations get out of control.