Yes of course I use mods.
But the problem most likely was in the game’s executable, which needed to be patched using the LAA program, which would unlock the game’s use of all RAM instead of just 4GB.
But I also rolled back to oldest driver version 23.5.2 (just in case), and did not remove the installed swap file.
But I think that installing new versions of drivers for the video card will not make it worse (if the executable is patched).
In short, I have no problems with the game so far. And everything is already working great.