ws2007FederationHttpBinding バインディングを介して公開された WCF サービスがあります。このサービスで 100MB のワード ドキュメントにアクセスしようとすると、「268435456 バイトのマネージ メモリ バッファの割り当てに失敗しました。使用可能なメモリの量が少ない可能性があります。」というエラーが表示さ れます。
サーバー側の構成
<ws2007FederationHttpBinding>
<binding name="ws2007FederationHttpBinding" messageEncoding="Mtom" maxReceivedMessageSize="2147483647">
<security mode="Message">
<message negotiateServiceCredential="false">
<issuerMetadata address="https://abc.com/adfs/services/trust/mex" />
<issuer address="https://abc.com/adfs/services/trust/13/kerberosmixed" />
<claimTypeRequirements>
<add claimType="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name" isOptional="true" />
<add claimType="http://schemas.microsoft.com/ws/2008/06/identity/claims/role" isOptional="true" />
</claimTypeRequirements>
</message>
</security>
</binding>