DataCacheFactory无法分配托管内存缓冲区?

编程入门 行业动态 更新时间:2024-10-18 23:29:55
本文介绍了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无法分配托管内存缓冲区?

本文发布于:2023-11-08 07:25:12,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1568721.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:缓冲区   分配   内存   DataCacheFactory

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!