The memory in Palm is highly limited, so putting all your data into dynamic
heap is not a good idea.
If you are storing your record structures in an array or Link List for
displaying on a form then you can as well store the required record indexes
in a dynamic array. The individual records can be retrieved for display as
and when required. I am assuming the records you are fetching are based on
some search.
Manish
Anuradha J wrote:
> Hi,
>
> I would like to know which is a better approach for storing the
> content received from the server. Let's say I receive about 1-2
> bitmaps and text content of 1-2K, I am currently storing them in
> dyanmic memory using MemHandle or MemPtr. My app. is very
> unpredictable and crashes anytime due to "out of memory".
>
> I wonder if I have to use database to store the bitmaps or file
> streams to store the received 1-2K text content?
>
> Anybody has any suggestions?
> Anuradha
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/