From: "Eric" <[EMAIL PROTECTED]>
> inside my code. Therefore, in my AppStart procedure, I setup some
variables
> and arrays to structures that define complete records in my database.
Then,
> I will insert these temporary data into the database. Things were
working
> fine for two databases until I started on the third. For the third one, I
> cannot even declare or initialize the variable to hold the data. I get
> errors with the memory heaps. If I only initialize 1 variable, then it
will
> be fine. If I do 2, then it goes ok till I exit the program. It will
then
> say Bus Error Exception, MemHeapFreeByOwnerID
Are you saying that you are creating the three DBs inside the same single
app? Are you trying to declare all these temporary variables in a single
function? Memory on Palm devices is VERY limited.
Neil Rhodes reports the limits as follows:
Memory Use; OS 3,>1MB; OS 2,1MB; OS 2,512KB
======================================
System Globals; 6KB; 2.5KB; 2.5KB
Syst Dynamic alloc; 50KB; 47KB; 15KB
Appl stack & Locals; 4KB; 2.5KB; 2.5KB
Appl Globals; 36KB; 12KB; 12KB
You might find it easier to create a PDB file for each database, using
csv2pdb.exe or one of the other PDB creation tools.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html