So, just how many databases are ok to be open during MemHeapCompact()? In the following list of open databases (on a Treo 650), my app is responsible for the top three, leaving fifteen others that are out of my control. How am I to "make sure to close all databases before calling MemHeapCompact"?
64002D38 0 F3B9FA74 'PERD' 'SPQT' 1 0003 D 8000 0007 9 28160 24194 "SpClientDeepPersist" 64002C48 0 F3B9FA64 'PERS' 'SPQT' 1 0003 D 8000 0007 12673 2067456 1382908 "SpClientPersist" 64002218 0 F30501A0 'appl' 'SPQT' 1 0001 R 8029 0001 204 739328 716514 "spclient" 640021F8 0 F30502B8 'a68k' 'a68k' 1 0003 R 8001 0000 2 272 140 "PACERsrcDB0" 64002328 0 20CDF540 'trec' '0lss' 1 0005 D 0002 0001 101 40011 38315 "CertMgrDB" 64003130 0 F305014C 'HsT3' 'HsTr' 1 0005 D 8000 0000 0 2048 0 "HSTraceDatabaseHead" 64002848 0 F3050148 'HsTr' 'HsTr' 1 0007 D 8108 0000 19 14336 6608 "HSTraceDatabase" 64003050 0 20476DFC 'lCLb' 'HsSr' 2 0005 R 0063 0001 2 7160 7040 "HsSysResource5.0_SPCS_enUS" 64003000 0 20478A1C 'cCLb' 'HsSr' 1 0005 R 0063 0001 2 256 136 "HsSysResource5.0_SPCS" 64002B88 0 20BB8C9C 'ovly' 'HsSr' 1 0005 R 0863 0001 14 22225 21865 "HsSysResource5.0_enUS" 640022C8 0 20BBE498 'rsrc' 'HsSr' 1 0004 R 0063 0001 46 18911 17911 "HsSysResource5.0" 64003110 0 20476DFC 'lCLb' 'HsSr' 2 0005 R 0063 0001 2 7160 7040 "HsSysResource5.0_SPCS_enUS" 640030A0 0 F3050144 'rsrc' 'HsSr' 1 0004 R 8001 0000 1 3072 98 "HsSysResource68K" 640007B8 0 20ACFDEC 'ovly' 'lati' 1 0005 R 0843 021C 5 2222 2042 "Latin Locale Module_enUS" 640006E0 0 2081E680 'locm' 'lati' 1 0005 R 0043 0226 32 63722 63002 "Latin Locale Module" 64000638 0 20CCAD80 'rsrc' 'pdvc' 1 0005 R 0063 021C 5 472 292 "DeviceResources" 640005E8 0 20678290 'ovly' 'psys' 1 0005 R 0843 0223 183 50472 46732 "Boot_enUS" 64000360 0 200058B0 'rsrc' 'psys' 1 0005 R 0043 0223 140 401256 398376 "Boot" -------------------- Jeff Loucks Work 425-284-1128 [EMAIL PROTECTED] Home 253-851-8908 [EMAIL PROTECTED] Mobile 253-691-8812 -----Original Message----- From: Regis St-Gelais [mailto:[EMAIL PROTECTED] Sent: Friday, April 01, 2005 10:27 AM To: Palm Developer Forum Subject: Re: Updated NVFS_White_Paper.doc on PalmOne web site "Ben Combee" <[EMAIL PROTECTED]> a �crit dans le message de news: [EMAIL PROTECTED] <snip> > This white paper is our official mechanism for confirming problems and > providing workarounds. <snip> Hi Ben, The white paper says: >10- MemHeapCompact crash on Tungsten T5 >MemHeapCompact causes the Tungsten T5 to crash when there are open >databases. >MemHeapCompact works fine when there are no open databases. >Please make sure to close all databases before calling MemHeapCompact. Do you have an idea how I can make shure that all the databases are closed if other application then my own can live some open? I tryed Douglas Handy suggestion by using DmNextOpenDatabase( NULL) in my appStart routine but but it look like it always return something other than NULL. Thanks -- Regis St-Gelais www.laubrass.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
