Set amount of memory available to AppFabric Caching
Asked Answered
G

1

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.

Greasepaint answered 20/6, 2011 at 3:18 Comment(2)
I am not sure this is possible.. Looking forward to a better answer :)Expansion
wow - I have 2 users sessionstate for just testing and it took 700MB!!Palladous
S
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

Salita answered 12/8, 2011 at 15:20 Comment(2)
Works. Set-CacheHostConfig PLUTO 22233 -CacheSize 1024.Unction
if it appears to timeout you may need elevated permissionsPalladous

© 2022 - 2024 — McMap. All rights reserved.