equal
deleted
inserted
replaced
24 */ |
24 */ |
25 |
25 |
26 |
26 |
27 // Global file-cache settings |
27 // Global file-cache settings |
28 const TBool KDefaultGlobalCacheEnabled = ETrue; |
28 const TBool KDefaultGlobalCacheEnabled = ETrue; |
|
29 #ifdef __WINS__ |
|
30 // Reduce impact on S60 emulator memory budget |
|
31 const TInt KDefaultGlobalCacheSize = ( 8*1024); // 8192 K = 8 MBytes - the maximum for all files |
|
32 #else |
29 const TInt KDefaultGlobalCacheSize = (32*1024); // 32768 K = 32 MBytes - the maximum for all files |
33 const TInt KDefaultGlobalCacheSize = (32*1024); // 32768 K = 32 MBytes - the maximum for all files |
|
34 #endif |
30 // The maximum amount of locked data allowed for all files |
35 // The maximum amount of locked data allowed for all files |
31 const TInt KDefaultGlobalCacheMaxLockedSize = (1*1024); // 1 Mb maximum locked data |
36 const TInt KDefaultGlobalCacheMaxLockedSize = (1*1024); // 1 Mb maximum locked data |
32 // Low memory threshold as a percentage of total RAM. |
37 // Low memory threshold as a percentage of total RAM. |
33 // If the amount of RAM drops below this value, attempts to allocate memory for a file caching will fail |
38 // If the amount of RAM drops below this value, attempts to allocate memory for a file caching will fail |
34 const TInt KDefaultLowMemoryThreshold = 10; // 10 % of total RAM |
39 const TInt KDefaultLowMemoryThreshold = 10; // 10 % of total RAM |