Basically the memory in your Palm OS device is split into two main segments - the Dynamic Heap and the Storage Heap.
The Storage Heap is the larger of the two sections and contains all of your programs and assorted databases. Basically, the storage heap acts almost like a hard drive and is designed for long-term storage of data. The Dynamic Heap is usually much smaller than the storage heap and contains the data that is currently being used by the program that is running. Basically any data that our application needs to access quickly and easily is stored in the Dynamic Heap while our application is running. This is very similar to the way RAM is used in a PC. When the our application exits any data that is in the Dynamic Heap is erased. In general the more complex the our application, the more information needs to be stored in the dynamic heap. Now to make things even more confusing, applications can store temporary data in the Storage Heap. However, the Storage Heap is generally a lot slower than the Dynamic Heap. So many application stick to using the Dynamic Heap for speed reasons. Hope this helps -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
