News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

since yesterday my codeblocks takes a long time to compile and execute

Started by Acode, January 24, 2020, 07:31:39 PM

Previous topic - Next topic

Acode

since yesterday my codeblocks takes a long time to compile and execute like 4 seconds,
I have a:
i7-8700k
16 GB ram
1070
SSD
I have already tried:
Add codeblocks folder and projects folder  to exclusions of my antivirus
Reinstall codeblocks
how can I fix it ?

oBFusCATed

You have to find out why it is slow.
Does it happen with a simple console project?
Have you looked in task manager?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

stahta01

Sounds like Windows OS, if all else fails, try shutting down and restarting the computer.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Acode

Yes this happens with quite simple projects, I've already checked the task manager and the only processes running are those of windows and other light ones like as spotify, nord vpn or discord.
Of course I've already tried to restart my OS.

stahta01

If the problem is in Code::Blocks, I would disable all CB plugins except for the Compiler.

Does it get faster, if yes, then enabled one plugin at a time to see which one is making it slow.

If it does not get faster, try compiling from the command line. Is it still slow?

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]


sodev

Quote from: Acode on January 27, 2020, 12:56:33 PM
still slow :(

Does this slow also apply to this:

Quote from: stahta01 on January 26, 2020, 10:10:57 PM
If it does not get faster, try compiling from the command line. Is it still slow?

If it does, maybe

Quote from: Acode on January 24, 2020, 07:31:39 PM
since yesterday my codeblocks takes a long time to compile and execute like 4 seconds,

your program is now more than just a printf("Hello World!")? Because 4 seconds is like blazing fast for any of my programs.

stahta01

Make sure the Compiler Folder is set inside the Anti-Virus correctly.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

stahta01

If your project is multiple files:

Clean the whole project.
Compile one file at a time (You could find that one of the files takes a long time to compile; that means it is likely a code issue inside that file)

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]