I did a small winform host application to register a simple service (Hello Word) 500 times on Remoting and on WCF.
I noticed that WCF consumes much more memory than Remoting just to host the services.
About 150 times over .
I´m just talking the necessary memory to run the following commands:
- [WCF] ServiceHost.Open versus
I´m not talking about message, client x server communication...
Here is my sample application results summary:
-WCF Service - GC Memory (gcMemoryEnd - gcMemoryStart) :
-Remoting Service - GC Memory (gcMemoryEnd - gcMemoryStart) :61 KBytes
I can send to you my sample application. Just ask me. (firstname.lastname@example.org)
You can download from [http://cid-063f615d2720e2bf.office.live.com/self.aspx/P%c3%bablico/MemoryConsumptionComparisonWCFversusRemoting.zip] too.
I would be very glad for any help.
View Complete Post