Go Down

Topic: Unbelievable slow compilation of simple sketches (Read 72170 times) previous topic - next topic

terryking228

Hi Bob,
Quote
Good that you back up ESET with something else...There was a recent thread on just this topic LOL
I had some issues a year ago and I tried MBAM and liked it. Especially the anti-ransomware protection. I can't afford to have my little YourDuino.com get attacked...  

Based on your sig, are you a CNC guy??  I have to find time to get back into that..  

Thanks!
Regards, Terry King terry@yourduino.com  - Check great prices, devices and Arduino-related boards at http://YourDuino.com
HOW-TO: http://ArduinoInfo.Info

ballscrewbob

#61
Mar 26, 2018, 03:46 pm Last Edit: Mar 26, 2018, 03:49 pm by ballscrewbob
Sort of Terry...used to build CNC lathes and did a bit of general machine tool refurb.

Got a Ballscrew tag for taking the install time down from a few hours to about an hour and still maintain the build accuracy.  Never did much actual programming.

However thats taken a large leap over the last couple of months since I built a small CNC machine with Ardi.
Current machine is a bit of a Frankenstein as I have the main tooling on small sleds so I can change to a drawing machine or a laser engraver or a router.



I made the pen spring loaded to it keeps a constant pressure
The laser has a second laser I will be using to do distance measuring for uneven surfaces.

Mostly made from scrap materials around the house.
It may not be the answer you were looking for but its the one I am giving based on either experience, educated guess, google or the fact that you gave nothing to go with in the first place so I used my wonky crystal ball.

terryking228

Hi Bob,  Wow that looks good; I like the interchangeable-effector idea.
25+ years ago I built a 4x4 inch table I used for jewelry; mostly carving wax and silver. It's waiting for a transplant board from a 3D printer..   Sigh.... 
Regards, Terry King terry@yourduino.com  - Check great prices, devices and Arduino-related boards at http://YourDuino.com
HOW-TO: http://ArduinoInfo.Info

ballscrewbob

The sled idea also brought with it a few weaknesses in the machine itself...

So now  "Strong like bull" each change shows up something else.

Blown out a few motors for the spindle but 24 volts up a 5 volt motor makes for a spectacular ending if not noisy...Now have selectable voltages 5,12,24V at 10A ea.  Oooh look at all the shiny bits.

310x240 mm work area.

BTW not meant as an offence but your avatar always reminds me of Rick Wakeman ;)




It may not be the answer you were looking for but its the one I am giving based on either experience, educated guess, google or the fact that you gave nothing to go with in the first place so I used my wonky crystal ball.

terryking228

Quote
avatar always reminds me of Rick Wakeman
I  needed to use Google Image..  Oh. OK.
The photo of me is in front of the Lime tree in the back yard of 4 Rue Jasmine in Carthage, Tunisia (North Africa) where I lived for 3 years.  Now I have more wrinkles and longer hair :-)
Regards, Terry King terry@yourduino.com  - Check great prices, devices and Arduino-related boards at http://YourDuino.com
HOW-TO: http://ArduinoInfo.Info

Bundy76

#65
Nov 08, 2018, 11:16 am Last Edit: Nov 08, 2018, 11:29 am by Bundy76
Exceptions in virus checker didn't do jack. And had no problem with other PC that had same anti-virus.

What worked for me...

CAUSE:-

Recent documents list with sketches on network shares or drives that timeout (Aren't currently available ). Silly bug/feature. :-P

Apparently the IDE checks/verifies links in "recent sketches" list before compiling/saving/loading etc. Eventually continues after they timeout.

FIX:- 

Fix was to to just clear the "recent.sketches="  in preferences.txt file found in...

C:\Users\<your username or whatever>\AppData\Local\Arduino15

( If this doesn't work for you, then a suggestion... Be sure you have the right preferences.txt file, open a sketch and see if it shows up in that file. )


...Thanks goes to obscure post on some obscure forum somewhere else.

Dr_FM

Greetings, fellows.

After many atempts, "one" thing worked for me (Win 10, everything always updated):
  • Grant free firewall access to Arduino IDE
  • Run Arduino IDE always as admin
  • Delete the "preferences.txt" (which I think was the solution)

As I cannot point the "ultimate" step that fixed my problem, I've listed everything I tryed.

Note: The "preferences.txt" was not created again and everything is perfect in my IDE.

heinduplessis

For me, what worked is to grant FULL access to the EVERYONE user group and set all files and folders to R/W in my C:\Program Files (x86)\Arduino folder.

I don't run any 3rd party anti virus on any of my windows machines (win 8 and 10) and compile was still insanely slow.

jpessini

Same thing here.
I just disabled my anti-ransomware app and it's compiling fast again.

Hpeter

Hi,

I have the same problem with very slow compilation time.

What I can say is I did all which mentioned forums. I do not want to llisted below but beleive me I tried everything what I have found.

But the compiling speed is very-very slow.

However I have find an interesting thing what I woould like to share with you.

I am developing paralel for two different boards.
1. Mega2560
2. ESP8266

The mega2560 compiling was very slow and the only one what I did is the following.
Originaly my sketch folder was on a different partition and I moved to the C:\sketch folder.
After that the compiling time decreased incredibly. So I thicked off on my list with green mark.

After that I started to compile to the ESp8266 and I found that the compile time very-very slow as well.
I started to searching and I did not found a correct solution.

Now I am here and I stucked.

The compiling for mega is ok nad the esp is not ok.

Is there anyone who would be a solution for me?

My OS is WIN10/64bit.

Peter

kalamgish

Definitely turned out to be Trusteer rapport which was causing my problems.

Go Up