|
-
April 6th, 2007, 07:01 PM
#1
VC++ is slow
Hi, not a programming question here. Recently my VC++ IDE is slow. For example it takes about 4 minutes to put a breakpoint on a line or when I hit enter it takes same amount of time to put a new line. Also opening a file takes too long. The amazing thing is that while the code is running and I go to the editor screen then things are as fast as normal. What can be wrong? Thank you.
-
April 6th, 2007, 07:49 PM
#2
Re: VC++ is slow
Ok, There could be lots of dependencies or you can spend a lot of time to investigate on this. But what i think is, if you have a chance, go ahead and re-install VC++. No worries.
The reason is,as i said there might be numerous things that you might not know coz its related to the IDE or might be prob with Virus or dll could have been corrupted.
Considering not to waste time anymore re-installing is the best option. Time is really precious.
"Dont Forget to rate if it helped"
-
April 6th, 2007, 08:55 PM
#3
Re: VC++ is slow
Or not enough memory (taskmanager will tell you if you are swapping as will perfmon). If you are then adding RAM will help. My personal measurements is for a single core 3.x Ghz processor to be really effective is 3 gig of RAM
TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
2008, 2009,2010
In theory, there is no difference between theory and practice; in practice there is.
* Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions 
* How NOT to post a question here
* Of course you read this carefully before you posted
* Need homework help? Read this first
-
April 7th, 2007, 04:30 AM
#4
Re: VC++ is slow
Try to see whether this also happens in a new project that you create on the local disk. If it doesn't then the culprits could be:
- autocomplete/intellisense (in which case you could turn it off)
- the files reside on a server and the connection is slow (upgrade network, work locally)
- your sourcecontrol is slow (switch to a faster sc or check its parameters)
Get this small utility to do basic syntax highlighting in vBulletin forums (like Codeguru) easily.
Supports C++ and VB out of the box, but can be configured for other languages.
-
April 7th, 2007, 06:15 AM
#5
Re: VC++ is slow
Or you could try to delete the *.ncb and *.suo files... Perhaps make a backup first and then delete them ...
Best Regards,
Gili
Please use code tags [code] [/code]
We would change the world, but God won't give us the sourcecode.. 
Undocumented futures are fun and useful....
_________
Gili
-
April 7th, 2007, 07:22 AM
#6
Re: VC++ is slow
As g_gili noted, delete your .ncb file - but I would also recommend deleting your .aps file.
These files will be recreated as needed, so there is no problem. There should be no need to delete your .suo file, however.
Good luck.
Be sure to rate those who help!
-------------------------------------------------------------
Karl - WK5M
PP-ASEL-IA (N43CS)
PGP Key: 0xDB02E193
PGP Key Fingerprint: 8F06 5A2E 2735 892B 821C 871A 0411 94EA DB02 E193
-
April 7th, 2007, 08:16 AM
#7
Re: VC++ is slow
My personal measurements is for a single core 3.x Ghz processor to be really effective is 3 gig of RAM
for some programming ??? In my book that's called overkill. I'm running a 2.5 G single core with 512 MB and it runs smoothly.
-
April 7th, 2007, 08:38 AM
#8
Re: VC++ is slow
also what makes u think u need 3 Ghz RAM for a 3.x Ghz processor??
the only thing you need to watch for performance is CPU FSB speed and RAM speed. if they match then u have ratio CPU:RAM 1:1
for this u can download cpuz tool or something semiliar.
is noted before could be your RAM or your intellisense.
-
April 7th, 2007, 09:29 AM
#9
Re: VC++ is slow
also what makes u think u need 3 Ghz RAM for a 3.x Ghz processor?
Right now I have running (under Win-2003ES)
VS-2003
VS-2005
Outlook
Word (3 large docs)
Excel
PerfMon
Virtual machine running XP
Virtual machine running Vista
7 small footprint utilities
Very fast response time.
TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
2008, 2009,2010
In theory, there is no difference between theory and practice; in practice there is.
* Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions 
* How NOT to post a question here
* Of course you read this carefully before you posted
* Need homework help? Read this first
-
April 7th, 2007, 01:11 PM
#10
Re: VC++ is slow
I, too, have info on the *.ncb file (intellisense).
Intellisense is broken, MS knows it, even the SP1 didn't fix it - lots of board discussions between MS folk and developers about it.
Definitely delete the *.ncb file - I'd even bother to do that every time I load the project/solution.
Another tip that seems to work, but ONLY if you have enough RAM, is to make a 'fake' *.ncb file (empty), set the fake *.ncb file to read only!
VS2K5 will launch and complain, asking if it could remove the read only attribute - say NO! The *.ncb will be managed in temporary file/RAM (I don't know which) - but NOT PRESERVED. It will rebuild each launch, which is much better for now.
It seems The Wizard and I kick our machines all over the road )
At any one moment I might have:
- two sessions of VC++ (one on a library, the other on an application),
- MSDN docs,
- another set of docs in a reader,
- Firefox (with perhaps 15 or 20 tabs),
- Nero cutting a DVD or CD
- Photoshop (editing application graphics perhaps, or kids photos)
- 3DS Max (sometimes ver 4.2, sometimes 9) - more application graphics
- SQL Server
- Firebird SQL Server
- Postgres SQL Server (sometimes I must make sure apps work on all 3)
- CuteFTP
- Excel
- WaveLab (audio for the application development)
...and with all that, even 3Gbytes isn't enough.
I'm waiting for 64bit to get really good so I can move to about 16Gybtes RAM )
By then, I hope to go for quad core, too.
-
April 7th, 2007, 01:25 PM
#11
Re: VC++ is slow
I'm waiting for 64bit to get really good so I can move to about 16Gybtes RAM )
Im just waiting for the Money to Get a Decent (about $10K) 64bit system. Alas my budget will not support that right now.
TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
2008, 2009,2010
In theory, there is no difference between theory and practice; in practice there is.
* Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions 
* How NOT to post a question here
* Of course you read this carefully before you posted
* Need homework help? Read this first
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|