Hi,

I have problem with application running on Tunsgsten E2. Sequence of reading 
records from database makes DBCache fragmentation  and DBCache runs out of 
memory. 
In a loop I read data from several tables. I use DmGetRecord to access records. 
After copying data from record I release it immediately with DmReleaseRecord.  
On other devices (Tungsten T5, TX) application works fine.

I try to access directly to palm databases via VFS layer. 
I can find reference to hidden volume, and locate db. file on it. 
For example if table name is “DBCustomers” then file path is something like: 
“/PALM_DM/DBCustomers_E000000”

I can open this file with vfsModeRead flag , if I try  vfsModeReadWrite mode I 
got vfsErrFilePermissionDenied error.
I try to call VFSFileDBGetRecord() but it fails and returns dmErrNotRecordDB. 

How can I read records from such database? Is there any way to prevent memory 
in DBCache from running out?

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

Reply via email to