10-30-2024 03:40 AM
Hello
I have made two executable communicating with each other with Network streams. The executable can run on the same PC or two different PC.
Both are built in LabVIEW 2018, one in 32bits the other in 64bits.
When these program are running the CPU usage viewed in Task Manager is less than 5% for the two programs combined.
But when one of this program starts, the CPU usage of "Antimalware Service Executable" rises to 30% then it ususally drops to around 10% (usually because it sometimes stays at 30%).
When I stop both of these programs The CPU usage of "Antimalware Service Executable" rises to 30% then goes back to less than 1 or 2%.
Running only one of them when it does not communicate with the other, the CPU usage of "Antimalware Service Executable" is around 5%
These values of CPU usage are when the program is idling. When it is running in normal operation doing data acquisition, network communication and writing files, CPU USage can go up to 40%.
On some machine with limited resources we even observed 100% CPU usage with our program using 60% "Antimalware Service Executable" using up to 35%.
How can I reduce the CPU usage of "Antimalware Service Executable" without disabling it ( because with windows update, the OS always find a way to re enable it)
Thanks
10-30-2024 04:10 AM
Usually you can exclude files from being harassed by a AntiMalware application. Check the AntiMalware settings.
10-30-2024 04:38 AM
Hello Paolo,
This seems to work, but I am looking for a more universal way to make this work as the application is installed by the customer on its own PC and I don't oversee every install.
Thanks
10-30-2024 05:02 AM
@didje007 ha scritto:
Hello Paolo,
This seems to work, but I am looking for a more universal way to make this work as the application is installed by the customer on its own PC and I don't oversee every install.
Thanks
It's the very nature of anti-malware apps of not letting other programs to disable them.
10-30-2024 05:10 AM
May be I Should reformulate the question as why my program is considered as a Malware?