.NET applications require more system resources?
I recently ported a program of mine that was coded in VB6 to C# (just to test my skills), and the C# version requires WAY more memory to run, why is that? The code is almost identical in the fact that they both do the exact same conversions and use the same amount of variables. I thought C# was supposed to handle variables better and run at lower memory usage? Can someone explain why the C# app is a memory hog?
Screen Shot:
http://img72.imageshack.us/img72/4172/mem8ot.th.jpg
Thanks,
Sir Loin
Re: .NET applications require more system resources?
One major reason would be that your running the .NET Framework with your C# version and the VB ^ version is only running some runtime dependancies.
I think your comparisons of C# being better is when you compare it to VB.NET.[/color]
Re: .NET applications require more system resources?
The Framework uses a fair amount of memory, but your application itself will only be using a small proportion of what is indicated in Task Manager. The Framework is a shared component so it becomes more efficient overall the higher the propertion of .NET applications you are running.
Re: .NET applications require more system resources?