本文介绍了DataCacheFactory无法分配托管内存缓冲区?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我在代码中配置DataCacheFactory时,我得到以下异常:
When i configure the DataCacheFactory in code, I get the following exception:
{"Failed to allocate a managed memory buffer of 104857600 bytes. The amount of available memory may be low."}
This is apparently in response to the setting of the TransportConnectionBufferSize to 104857600 bytes.
As a result of a call to Microsoft Support, we learned that the maximum tested size for an insert into the AppFabric cache was 5MB.
Based on that size as a maximum object size, I would appreciate your opinion as regards some starting values for the following DataCacheFactory settings:
-
ChannelOpenTimeout
-
MaxConnectionsToServer
-
NotificationsPollInterval
-
NotificationsMaxQueueLength
-
RequestTimeout
-
TransportChannelInitializationTimeout
-
TransportConnectionBufferSize
-
TransportMaxBufferPoolSize
-
TransportMaxBufferSize
-
TransportMaxOutputDelay
-
TransportReceiveTimeout
We are using Quad-proc Intel boxes with 8GB memory running windows server 2008 R2.
Thanks,
Kimball
推荐答案
这篇关于DataCacheFactory无法分配托管内存缓冲区?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!