What to Remember
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.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access