Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Set amount of memory available to AppFabric Caching

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.

like image 890
Jakob Gade Avatar asked Jun 20 '11 03:06

Jakob Gade


1 Answers

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

like image 78
Nicolas De Irisarri Avatar answered Oct 07 '22 20:10

Nicolas De Irisarri