Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

.Net memory hog

Status
Not open for further replies.

Thrakazog

Programmer
Dec 10, 2001
48
US
I've been noticing that VB.NET is a huge memory pig.

Can anyone tell me why even a "Hello world" program consisting of 1 form and 1 label would need to take up 7 meg of ram?? That is after it has been compiled for release.
 
Because the .NET framework libraries are rather large DLLs. The bad news is there're large. The good news is they're shared between all .NET applications running.

Chip H.


If you want to get the best response to a question, please check out FAQ222-2244 first
 
does that mean the second instance of the same program will use less ram than the first?


if it is to be it's up to me
 
Yes.

Also applies to any other .NET program which uses similar using/import statements (System.IO, System.Text, etc).

Chip H.


If you want to get the best response to a question, please check out FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top