Hi Declan,

What's the full code? Also have you tried 
using https://learn.microsoft.com/en-us/sysinternals/downloads/procmon and 
see what it does? 



On Friday, June 23, 2023 at 10:04:24 AM UTC+5:30 Henry wrote:

> I am running Windows 11 with Kaspersky. I don't have such problems. When 
> it comes to Windows, it isn't as simple as blaming your AV. Windows is a 
> complex OS and it is doing many different things in the background (e.g. 
> doing maintenance, installing updates, etc.).  You should open your Task 
> Manager and see what is hogging your resources. You also need some decent 
> hardware as Windows is a bit resource hungry. You may also check if there 
> is an error with Windows itself. See  Using System File Checker in 
> Windows - Microsoft Support 
> <https://support.microsoft.com/en-us/windows/using-system-file-checker-in-windows-365e0031-36b1-6031-f804-8fd86e0ef4ca>
>
> On Thursday, June 22, 2023 at 7:47:59 PM UTC+7 Jet Li wrote:
>
>> Like to note that if you mean Windows Defender, there is no way to 
>> disable that after Build 20H2 iirc where I was task to deploy Windows 10 
>> and could not find the option in Windows Group Policy settings after the 
>> update, if Go app are affected by Windows Defender. Your only option is to 
>> use older Windows build and alternative OS, mileage may vary.
>>
>> Another option, could be impossible to backup VM image as it's on macOS
>> https://multipass.run/
>> On Thursday, 22 June 2023 at 19:52:56 UTC+8 Wojciech S. Czarnecki wrote:
>>
>>> Dnia 2023-06-18, o godz. 22:52:58 
>>> tokintmash <tokin...@gmail.com> napisał(a): 
>>>
>>> > Hello, 
>>> > 
>>> > Was there a solution to this? I am having the same issue. Win 10 
>>> machine 
>>> > and compiling and running simple lines of code takes ages. 
>>>
>>> The answer is always the same: turn off your antivirus software for your 
>>> development tree. 
>>>
>>> Such delays are due to "heuristics" usually implemented by uploading 
>>> your exe to the vendor. 
>>> Root cause is that after 12 years AV vendors still can not cope with 
>>> what they pereceive 
>>> a "non standard" linker, ie. a Go's one. 
>>>
>>> hope this helps, 
>>>
>>> -- 
>>> Wojciech S. Czarnecki 
>>> << ^oo^ >> OHIR-RIPE 
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/f1ba12ab-e1cf-4a85-903e-354bfa438d5en%40googlegroups.com.

Reply via email to