High-resolution textures and complex shadows are the biggest memory hogs.

Older engine architectures sometimes conflict with Windows 10 or 11 memory management. Right-click cossacks.exe . Select > Compatibility .

Optimizing your settings specifically for RTS games.