I'll send this message again and give it a subject
this time :-)

Hi all,

Here's a problematic bug I'm working on, if anyone has
any ideas I'm all ears...

Our app is rather large (2.6 Meg) and has even larger
databases associated with it (some users have 6 Meg,
some go all the way up to 13 Meg). The problem is that
users are seeing their databases disappear from the
device! 

This has been verified on Treos running 5.4.8 and
reported (but not verified) on a TX running 5.4.9. I
haven't been able to get it to happen on a T|3, which
is what leads me to suspect that the NVFS is somehow
implicated.

At first, I thought that the amount of free memory on
the handheld was a clue; typically, the free memory
would slowly decrease as the database grew, and then
at some point the user would HotSync (which opens,
writes data into, and closes thedatabase), and at the
end of it the database would be gone. This has
happened on devices with over 3 meg of data free,
though.

I suspect that if the data and the program combined
approach the size of the DbCache (which is 10 meg on
the Treo 650, as far as I know) that traversing the
database's records and reading them might fill the
cache and lead to a reset (and subsequent
corruption/deletion of the database). 

How can I determine whether the app's interaction with
NVFS is responsible for the crash? 
Are there any known issues with NVFS that can lead to
a device reset?
What are the known limits of NVFS and the DbCache?

Thanks in advance,

Paulo Raffaelli
Senior Consulting Engineer
Bear River


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

Reply via email to