0
Answer

Issue on .NET Remoting's memory leakage

veetian

veetian

19y
1.8k
1
I browsed throught some remoting example and realized that the "memory leakage" issue will arise if we use a configuration file and the RemotingConfiguration.Configure("x.config"); method to configure the host server's listener. A workaround method is to programmatically register the channels, WellKnownType and others... However, I am not sure if this applies to those remote objects being hosted by IIS. If I host an object under IIS, the configuration settings can only be set in the Web.config file... does this result in memory leakage? If this would result in memory leaks, how do I prevent it? Configure it programmatically in the application directory's Global.asax file?