How do I set the amount of memory available to the Windows Server AppFabric Caching service?
We're running the AppFabric Cache on the same server which is hosting the website, and I'd like to be able to control how much RA开发者_如何学编程M the cache will consume.
You can modify the amount of ram available using this commands on the powerShell console:
Stop-cachecluster Set-cacheHostConfig {Machine name} {port(22233)} -CacheSize {cache allocation in MB} Start-cachecluster
More info on MSDN
精彩评论