If Notepad is showing high CPU and Memory usage in Windows 11, follow these instructions ie. change encoding, terminate all ...
Stop letting uninvited background processes crowd your system memory.
It's the one thing that would make Windows an automatic winner in the OS wars ...