I believe Antimalware is kicking off when Obsidian scans the vault. It’s not clear if Obsidian is looking for changes via the directory last modified, or if it scans individual files.
If it’s triggering Antimalware scanning directories, that’s a Microsoft problem. If it’s reading every file in the vault on each open, that’s an Obsidian fault.
Any ideas to speed up Obsidian? or avoid this problem?
Try adding your vaults and other folders where indexing is often done on to Exclusions:
Also, I’ve found that an SSD hard drive is much faster handling these kinds of checks so if the user has an HDD drive, it would be worthwhile to upgrade the PC/laptop.
If I exclude my vault then it won’t be checked. My problem is checking is too frequent. I already have SSD. I guess my Lenovo T450s isn’t good enough anymore.
I’m afraid Windows is very adamant on its malware checks and while there are many online discussions on this, there is no real solutions (most people just want it gone).
So you can try:
Using other protection than Defender.
Another OS, like Linux (dual boot is okay).
Other than that, just boot up the Windows, sync your changes, do something else for 5-10 minutes (coffee, whatever) and when you come back to work on your notes, you should be fine. I mean you don’t do search and replace for the whole vault every ten minutes, do you?