Computing.Net > Forums > Programming > vc++ itself leaks memory

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

vc++ itself leaks memory

Reply to Message Icon

Name: Gauthier
Date: November 12, 2002 at 02:07:01 Pacific
OS: win98
CPU/Ram: 500MHz, 128MB
Comment:

Hi!

i had some troubles with my system running out of memory. After closing outlook, things got better.
But now i realise that vc++ takes 50% of my system resources! (that's what the resource meter of win98 says).

Is it normal?
have you already experimented that?
Did you solve it?
do i need to reinstalle vc++ (a 8th time)? Would you consider editing your code, and then closing vc++ everytime you want to test it?

Is engineering supposed to be dealing mainly with this kind of accessory problems?

that's depressing...

Gauthier



Sponsored Link
Ads by Google

Response Number 1
Name: cup
Date: November 12, 2002 at 09:46:00 Pacific
Reply:

There isn't a leak: VC++ just uses tons of memory. It will use about 20-30Mb of disk space for a medium sized program with say, 20 500-line files. I'm running on a 120MHz P1 with 32Mb memory. I've had it up for weeks and the memory usage hasn't gotten any more than that. Not worth worrying about. And no, you do not have to reinstall.


0

Response Number 2
Name: Gauthier
Date: November 13, 2002 at 00:14:52 Pacific
Reply:

damn...
i'm afraid you're right.
Then I cannot work, check my mails and laze on the web all at the same time...

Even more depressed,
Gauthier


0

Response Number 3
Name: Jeff J
Date: November 13, 2002 at 12:34:24 Pacific
Reply:

I'm afraid most all modern IDEs are memory hogs, though you might be able to reduce the load somewhat. The biggest culprits are the latest conveniences, such as code-completion, popup information, HTML-based help, edit-and-continue, cached debug info, class info, and the like. Unfortunately, they also tend to be reasons someone uses an IDE today, but the memory required to keep such vast amounts of info on hand, especially for C/C++, is daunting.

Depending on the IDE, some of these features can be disabled. M$' new HTML-help (even VC5 had a form of it) doesn't help, since script-enabled browsers are also memory hogs (Netscape, Mozilla, and IE all make memory disappear - check TaskManager). Try keeping the help off as much as possible. Outlook is also notorious for dimming the lights.

Depressing, well, FWIW, you have a lot of company. That's why so many developers surf the computer humour sites (except me, of course! =). Just alternate the lazing and the emails.

Cheers


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: vc++ itself leaks memory

Help with VC++6 IDE www.computing.net/answers/programming/help-with-vc6-ide/6755.html

how to create a modeless dialog in VC++ www.computing.net/answers/programming/how-to-create-a-modeless-dialog-in-vc/2994.html

Specific address www.computing.net/answers/programming/specific-address/9941.html