SysReset is a little dramatic... we'd like to flush and then keep going. The docs say not to use DmSync()... does it do anything that DmSyncDatabase() doesn't?

Also, I've narrowed down the problem: it seems to be related to calls made to DmResourceInfo and DmRecordInfo.

Ben

On Apr 25, 2005, at 3:32 PM, Ben Combee wrote:

At 03:08 PM 4/25/2005, you wrote:

We've got a backup solution we're trying to adapt to run on NVFS
systems. However, we're running into a LOT of stability problems,
apparently linked to NVFS. Basically, after a certain number of
DmGetRecord() operations, we're getting unexplained crashes. For
example, I have a large database I'd like to backup. If I try to just
back that ONE db up, there are no problems. However, if I operate on
a bunch of other dbs first, I get a crash.

I've tried using DmSyncDatabase() quite liberally, to no avail. Since
it appears as though there's some corruption being introduced into
the NVFS cache, I was wondering if there's a way to TOTALLY flush
this cache, so that we're starting with a clean slate.


SysReset() will do it. There's also DmSync() which will flush all changes, but it won't clear the cache back to a "just-booted" state.



-- Ben Combee, Senior Software Engineer, palmOne, Inc. "Combee on Palm OS" weblog: http://palmos.combee.net/ Developer Forum Archives: http://news.palmos.com/read/all_forums/


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



-- Ben Gottlieb Stand Alone, Inc. DT www.standalone.com -- ben-at-standalone.com

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

Reply via email to