Q

Why do my VB.NET apps consume so much of my system resources?

Why do my VB.NET applications consume so much of my system resources? I've kicked out all unused namespaces (declared the rest to the last possible segment) and generally cleaned up a lot of code on many apps that are all under 100K, yet they take up more memory (about 18,000 KB each) than anything else running! Is there some kind of VB6-.NET common mistake I could be making, or is this a "feature" of .NET?
You're doing everything right. The runtime for VB6 was relatively small, but the runtime to .NET is a larger. Considering that we're now getting a real API on to of the Internet portions, excellent database support, real XML support, full garbage collection and excellent crash protection, the runtime has to be larger. I, for one, am willing to put up with the extra runtime size for all of that new help.
This was first published in December 2003

Dig deeper on VB 6 to VB .NET Migration

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchCloudComputing

SearchSoftwareQuality

SearchSOA

TheServerSide

SearchCloudApplications

Close