userlibandfileserver/fileserver/sfile/sf_memory_man.h
changeset 11 329ab0095843
parent 9 96e5fb8b040d
child 43 c1f20ce4abcf
equal deleted inserted replaced
10:36bfc973b146 11:329ab0095843
    96 private:
    96 private:
    97 	static TInt32 iCacheSizeInBytes;
    97 	static TInt32 iCacheSizeInBytes;
    98 	static TInt32 iLowMemoryThreshold;
    98 	static TInt32 iLowMemoryThreshold;
    99 	};
    99 	};
   100 
   100 
   101 /** Default cache memory size in KBytes (32768 KBytes)*/
   101 /** Default cache memory size in KBytes (8192 KBytes)*/
   102 const TInt 	KDefaultGlobalCacheMemorySize = (32 << 10);
   102 const TInt 	KDefaultGlobalCacheMemorySize = (8 << 10);
   103 /** 
   103 /** 
   104 Low memory threshold as a percentage of total RAM (10 %)
   104 Low memory threshold as a percentage of total RAM (10 %)
   105 If the amount of RAM drops below this value, attempts to allocate memory will fail
   105 If the amount of RAM drops below this value, attempts to allocate memory will fail
   106 */
   106 */
   107 const TInt 	KDefaultLowMemoryThreshold = 10;
   107 const TInt 	KDefaultLowMemoryThreshold = 10;