缓存内存预留 [英] Caching Memory Reservation

查看:73
本文介绍了缓存内存预留的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在机器上运行AppFabric缓存,这不仅适用于缓存,也适用于其他应用程序。有没有办法配置appFabric缓存以保留内存量并阻止其他应用程序获取该内存。例如,在机器
上有2 GB的Ram我希望在那台机器上AppFabric总是有1 GB的Ram而其他应用程序使用其余的。

I run AppFabric caching on machine that is going to be not only for cache but for other applications also. Is there a way to configure appFabric caching to reserve amount of memory and prevent other applications to take that memory. For example, on machine that has 2 GB of Ram I want that on that machine AppFabric always has 1 GB of Ram and that other applications use the rest.

非常感谢你很多,

Indigo Cowboy

Indigo Cowboy

推荐答案



我们没有这样的规定,以便在启动时为缓存服务保留内存。缓存服务按需分配内存。我们只能限制(或配置)缓存服务可以使用的最大内存。默认情况下,缓存服务使用系统
内存的50%。建议在没有其他服务消耗大量内存的机器上安装缓存服务。

Hi,
We do not have such provision for reserving the memory for cache service when it starts. Cache service allocates memory on demand. We can only limit (or configure) the maximum memory that the cache service can use. By default cache service uses 50% of the system memory. It is recommended that cache service should be installed on a machine where no other service consumes lot of memory.

谢谢你,
Shankar

Thanks
Shankar


这篇关于缓存内存预留的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆