Why do my applications need >10 MB RAM
-
Hello there. I just want to ask if you got the same. When I start my Applications written in C# .NET and I take a look in the Task Manager, they always use more than 10 MB RAM. They are usual Windows.Forms applications which aren't very complex. The *.exe File is around 50 KB and I compiled it with code optimization on. Can someone tell me if this depends on a foult on my side or is it just because of the .NET Framework ? A little Program should not need so much memory I think ....
-
Hello there. I just want to ask if you got the same. When I start my Applications written in C# .NET and I take a look in the Task Manager, they always use more than 10 MB RAM. They are usual Windows.Forms applications which aren't very complex. The *.exe File is around 50 KB and I compiled it with code optimization on. Can someone tell me if this depends on a foult on my side or is it just because of the .NET Framework ? A little Program should not need so much memory I think ....
yep, thats pretty much the minimum size - its the .net runtime...
"When the only tool you have is a hammer, a sore thumb you will have."
-
Hello there. I just want to ask if you got the same. When I start my Applications written in C# .NET and I take a look in the Task Manager, they always use more than 10 MB RAM. They are usual Windows.Forms applications which aren't very complex. The *.exe File is around 50 KB and I compiled it with code optimization on. Can someone tell me if this depends on a foult on my side or is it just because of the .NET Framework ? A little Program should not need so much memory I think ....
Mine are about the same ranging from 7 to 11 MB. Debug versions seem to require about a little than this. You can see why seasoned hardcare programmers are reluctant to switch over to the .net languages. I've always believed that if the workload can go on the programmer to spare the end user of bloated software, slow response etc.. then it should. On the other side of the coin if you don't get with the program you will be left behind (eventually). Art