diff -r 2d65c2f76d7b -r 947f0dc9f7a8 userlibandfileserver/fileserver/sfile/sf_file_cache_defs.h --- a/userlibandfileserver/fileserver/sfile/sf_file_cache_defs.h Tue Feb 02 01:24:03 2010 +0200 +++ b/userlibandfileserver/fileserver/sfile/sf_file_cache_defs.h Fri Apr 16 16:24:37 2010 +0300 @@ -26,7 +26,12 @@ // Global file-cache settings const TBool KDefaultGlobalCacheEnabled = ETrue; +#ifdef __WINS__ +// Reduce impact on S60 emulator memory budget +const TInt KDefaultGlobalCacheSize = ( 8*1024); // 8192 K = 8 MBytes - the maximum for all files +#else const TInt KDefaultGlobalCacheSize = (32*1024); // 32768 K = 32 MBytes - the maximum for all files +#endif // The maximum amount of locked data allowed for all files const TInt KDefaultGlobalCacheMaxLockedSize = (1*1024); // 1 Mb maximum locked data // Low memory threshold as a percentage of total RAM.