Right, the best thing to do on PDAs is to leave as much as possible
inside the pdbs. If you have a large amount of data, think about to
display and alter them inside the pdb. Displaying is usually not a
problem at all, to alter could be a problem.
Regards
Henk
Dave Lippincott wrote:
don't load all your data into memory at the same time. keep only what you
are currently working with in ram and the rest in a palm database file. you
will need to redesign your data structures so they keep the minimum amount
of data and load data from a pdb as needed. take a look at the address book
sample included in the sdk. it can help you understand this concept. any
other developers here have an example project they could point out?
if you keep your data in a palm db file, you will be limited to 64k of data
per record, but will have the ability to store thousands of records. you
could possibly store each of the 600 registers in its own individual record
and load only a few in memory at a time.
----- Original Message -----
From: "Ruiz Camacho Rodolfo" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Thursday, September 23, 2004 12:19 PM
Subject: HELP WITH MEMORY
HI GUYS I HAVE A BIG PROBLEM AND I HOPE YOU CAN HELP ME
I AM DOING AN APPLICATION FOR MOBILE SALES AND WHEN I ACCESS THE
APPLICATION
I FILL AN ESTRUCTURE WITH ALL THE DATA, THE PROBLEM IS THAT I CANT FILL IT
WITH MORE THAN 600 REGISTRIES BECAUSE IF I DO THAT I GOT AN ERROR ABOUT
THE
MEMORY
I KNOW THAT WE HAVE ONLY 64 K OF DATA TO USE, AND WITH THE ESTRUCTURE I
RESERVE A LOT OF THIS SPACE, Y TRY TO CREATE A MULTISEGMENT APPLICATION
BUT
I CANT, IT NEVER RUNS DO YOU HAVE AN IDEA OF HOW CAN I SOLVED THIS PROBLEM
SO I CAN HAVE MORE THAN 600 REGISTRIES
I HEAR ABOUT UPLOAD TO MEMORY ALL THE INFORMATION BUT I DON'T KNOW HOW
THANKS
REGARDS
RODOLFO EDUARDO RUIZ CAMACHO
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
--
-------------------------------------------------------------------------
Henk Jonas
Palm OS � certified developer
[EMAIL PROTECTED] www.metaviewsoft.de/palmos
-------------------------------------------------------------------------
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/