OutOfMemoryException
(. ).
NetTcpBinding netTcpBinding = new NetTcpBinding(SecurityMode.None); EndpointAddress endpointAddress = new EndpointAddress(EndpoindAddress); InstanceContext context = new InstanceContext(callbackinstance); netTcpBinding.MaxConnections = 5; netTcpBinding.MaxBufferSize = 2147483647; netTcpBinding.MaxBufferPoolSize = 2147483647; netTcpBinding.MaxReceivedMessageSize = 2147483647; netTcpBinding.ReceiveTimeout = TimeSpan.MaxValue; netTcpBinding.CloseTimeout = TimeSpan.MaxValue; netTcpBinding.TransferMode = TransferMode.Buffered; netTcpBinding.ListenBacklog = 5; DuplexChannelFactory<ISubscription> channelFactory = new DuplexChannelFactory<ISubscription>( new InstanceContext(this), netTcpBinding, endpointAddress); proxy = channelFactory.CreateChannel();
• ?
Erm, , , , , , .
• , ?
.
• .
Windbg, , , , , ... , ,
, ServiceChannelFactory WCF ?
MaxBufferPoolSize 2 (netTcpBinding.MaxBufferPoolSize = 2147483647;) , .
netTcpBinding.MaxBufferPoolSize = 2147483647;
WCF , OutOfMemoryException.
Source: https://habr.com/ru/post/1773591/More articles:How to start CMD from C # with hidden CMD - c #Negative backlinks in MySQL REGEXP - regexUsing intercellSpacing in JTable with custom background color causes unexpected results - javaчто такое команда "что" в AIX под LINUX - c++An object with the same key already exists in the ObjectStateManager. An existing object is in an unchanged state - .netcan the whole array be in some cpu register? - c ++Refactoring models from one django application to two - djangohttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1773594/how-to-make-the-browser-wait-for-assets-to-load&usg=ALkJrhg-xsx3CwGe3wCzIPuyv5PwVKv6lQHow can I assemble an event from a mole using MS Moles? - c #PHP security nusoap for webservice - phpAll Articles