Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Why do my applications need >10 MB RAM

Why do my applications need >10 MB RAM

Scheduled Pinned Locked Moved C#
csharpperformancedotnetalgorithmsquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    j hannemann
    wrote on last edited by
    #1

    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 ....

    P B 2 Replies Last reply
    0
    • J j hannemann

      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 ....

      P Offline
      P Offline
      Philip Fitzsimons
      wrote on last edited by
      #2

      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."

      1 Reply Last reply
      0
      • J j hannemann

        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 ....

        B Offline
        B Offline
        Big Art
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups