Ask the Expert

Why do VB.NET applications consume so much of 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?

    Requires Free Membership to View

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 January 2004

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

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: