Appfabric中的InsufficientMemoryException

时间:2015-03-04 02:35:36

标签: appfabric appfabric-cache

  

** Appfabric中的InsufficientMemoryException。       System.InsufficientMemoryException:无法分配268435456字节的托管内存缓冲区。可用内存量可能很低。 ---> System.OutOfMemoryException:抛出了类型'System.OutOfMemoryException'的异常。

Ram大小为-32gb。我设置maxBufferSize="999999999"后,但我仍然遇到同样的错误。我的配置文件:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <configSections>
    <section name="dataCache" type="Microsoft.ApplicationServer.Caching.DataCacheSection, Microsoft.ApplicationServer.Caching.Core" />
  </configSections>
  <dataCache size="Small">
    <caches>
      <cache consistency="StrongConsistency" name="default" minSecondaries="0">
        <policy>
          <eviction type="Lru" />
          <expiration defaultTTL="10" isExpirable="true" />
        </policy>
      </cache>
    </caches>
    <hosts>
      <host replicationPort="22236" arbitrationPort="22235" clusterPort="22234"
        hostId="1222497344" size="16383" leadHost="true" account="XXX"
        cacheHostName="AppFabricCachingService" name="XXX.com"
        cachePort="22233" />
    </hosts>
 <advancedProperties>
      <securityProperties mode="None" protectionLevel="None">
        <authorization>
          <allow users="Anblicks" />
          <allow users="DefaultAppPool" />
          <allow users="Administrator" />
          <allow users="network service" />
        </authorization>
      </securityProperties>
      <transportProperties maxBufferSize="999999999" />
    </advancedProperties>
    <deploymentSettings>
      <deploymentMode value="RoutingClient" />
    </deploymentSettings>
  </dataCache>
</configuration>

0 个答案:

没有答案