win32api.SetSystemFileCacheSize

SetSystemFileCacheSize(MinimumFileCacheSize, MaximumFileCacheSize, Flags)

Sets the amount of memory reserved for file cache

Parameters

MinimumFileCacheSize : long

Minimum size in bytes.

MaximumFileCacheSize : long

Maximum size in bytes.

Flags=0 : int

Combination of win32con.MM_WORKING_SET_* flags

Comments

Requires SE_INCREASE_QUOTA_NAME priv

Pass -1 for both min and max to flush file cache.

Accepts keyword args.