Tilman Skobowsky wrote:
I spent the last couple of day (and nights) on working around the
******* NVFS DBCache implementation on an E2 - (rather than spending the
time with my son, who is visiting me right now ***GRRRR***)

I tried everything in order to keep as much memory out of the DBCache,
but I am sort of at the end of the flagpole. (Yes, I read all I could
find in the newsgroup and on the internet)

Our GIS System must be able to deal with an order of magnitude of
20000-40000 records in one or more databases. If I show them in a map, I
do have to DmQueryRecord or DmGetRecord all of them as time goes by. But
as soon as the DBCache gets too much filled up, the system gets so
instable.

I would think about putting the PDB on a VFS volume and using
VFSFileDBGetRecord() to access the records.  You'll have to do your
own caching, but at least it works reliably.

Then, if there are NVFS bugs on a device, you can at least tell
your customers to move the data files to SD Card or internal flash
"drive".  (Or if you want to get really advanced with it, you could
even move them from the PDB to a VFS volume automatically, perhaps
even to the hidden VFS volume on which the storage heap is stored.)

  - Logan

--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to