16

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 RAM the cache will consume.

Jakob Gade
  • 12,319
  • 15
  • 70
  • 118

1 Answers1

16

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

Nicolas De Irisarri
  • 1,077
  • 1
  • 14
  • 27