userlibandfileserver/fileserver/sfile/sf_memory_man.h
changeset 36 538db54a451d
parent 0 a41df078684a
child 176 af6ec97d9189
equal deleted inserted replaced
34:f497542af8e4 36:538db54a451d
    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;