Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

It seems 12 to 14MB of ram are always consumed by default, by any application created with VS.

 

I built a micro-desktop-IP-display application that is consuming 13MB of RAM. What the... 13MB to display an IP address? Is there a way to drop it at least to 1MB (while I think 1MB is still absurd for displaying a phrase, but better the 14!)?

  • Leaders
Posted

There is a price to pay for apps using DotNet's comprehensive runtime environment and library. There are those who would argue that 13 megs is perfectly acceptable for a small app because "memory is cheap". I think it would be nicer to not use the memory when you don't need it.

 

If you want a tiny memory footprint, C++ or even VB6 could be the way to go.

 

As an interesting note, I was just looking at a discussion on SuperUser about full-featured media players with 5-10 meg footprints.

 

Edit: I just created a hello world app, removing all unnecessary references, and got a 7-meg mem usage at start with a release build.

[sIGPIC]e[/sIGPIC]
  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...