is there any document about how nvfs works? i mean not just documentation which
is available in palmone sdk, but something more technical

i have small library for work with pdb databases. this is quite extensively used
in one project and it is constantly crashing after long time of work. there are
freuently opened and closed databases (~30of them can be used at time), their
size and record numbers may vary, there is some sorting, inserting new records 
etc.

i suspect that crashes are nvfs related because they always happen only with big
databases loaded. with test data everything works. also on emulator/simulator
everything works (even with big databases).

so i could use some more detailed info. for example what happens when i open
several megabytes long pdb file (which contains hundreds of records). will it
load whole file to dbcache or only records i need? what happens if there is no
block in dbcache big enough to open record? i need to take this pdb file, find
set of records in it and load them one by one (get record, lock record, process,
update data , unlock record, release record go to next one). i noticed that
after few hundred records i get crash. but when i install and use dbcache tool
it will crash later (so more records are processed but unfortunately not all of
them). i am sure that i work only with one record in one time.

also i noticed (using dbcachetool) that after i work more with hanheld (even
using builtin applications) there is always less and less free space in dbcahe
and it will be freed only after soft reset. why this happens? should i do
anything special with opened files to not eat space? i close them all, but is it
enough? dbcachetool does something for sure because when i use it things get
much more stable, but unfortunately i am not good enough in japanese to read
manual. are there any sources which coiuld make clearer what is going on there?

sorry for so much questions, but i am very confused at the moment....maybe this
nvfs layer wasn't so good idea at all :-(

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

Reply via email to