01 Feb Troubleshooting dwm.exe hangs on Windows 10
I built my PC [a few months ago](https://www.michaelcheng.us/stuff/44). I was really satisfied -- but _obviously_ it started having problems not long after. The first one was random freezes where the mouse couldn't even move. The freezes would be accompanied by 100% CPU usage and my WD Gold drive spinning up. I managed to quickly narrow this down to the Intel Rapid Storage Technology driver. I uninstalled that driver and the issue disappeared.
Last September, I upgraded to 32GB of RAM. With that change, I also stopped hibernating (S4 sleep) my machine every night because I believed in the myth (?) that hibernating with 32GB of RAM would be harmful to my SSD. So I started using [S3 sleep](https://en.wikipedia.org/wiki/Advanced_Configuration_and_Power_Interface#Power_states) instead. I noticed out the corner of my eye that the machine would take a long time -- O(minutes) -- to sleep. I ignored it though, because I hadn't used S3 sleep in a while and I forgot if that was normal or not. Partial spoiler alert: not really, but [hybrid sleep](https://www.howtogeek.com/102897/whats-the-difference-between-sleep-and-hibernate-in-windows/) will do this.
continue reading