DataCacheFactory无法分配托管内存缓冲区? [英] DataCacheFactory Failed to allocate a managed memory buffer?

查看:211
本文介绍了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

      推荐答案

      看来你打了一个OOM。你的机器是32位的吗?此外,我想知道您尝试将TransportConnectionBufferSize更改为104 MB的动机!您是否使用默认设置进行了测试?
      It seems you hit an OOM. Is your machine 32-bit? Also I would like to know the motivation behind your trying to change TransportConnectionBufferSize to 104 MB! Have you tested with the default settings?


      这篇关于DataCacheFactory无法分配托管内存缓冲区?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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