I had brought a high-end laptop 3 months ago for work and play for 5-10 years. These are the specs:
- Processor: Intel(R) Core(TM) i9-14900HX, 2200 Mhz, 24 Core(s), 32 Logical Processor(s)
- OS: Microsoft Windows 11 Home Single Language
- RAM: 32.0 GB
All was good until suddenly the IDE would crash and I couldn’t figure out the root cause. It happens randomly and has no particular trigger. Sometimes I will be doing nothing and the IDE will crash with an error report. All errors point to some kind of memory access violation, either from a worker thread or a Java C2 Compiler accessing an invalid memory address. I was deeply worried when the issue started happening in Chrome where I had to review a big PR, the site would always crash after scrolling a few pages. I went through a lot of solutions online including:
- Rebooting
- Clearing the cache
- Updating the drivers
- Updating the OS
- Putting the system in eco saver mode
- Trying to underclock the CPU (but it was locked in BIOS)
- Trying Intel XTU to underclock the CPU (it was locked as well)
- Modifying registry (regedit)
- Messing with DCOM as I saw the error in Event Viewer
- Messing with Component Viewer to see if permission was the cause
- Changing vmoptions arguments in the IDE
- Giving more memory to the VM
- Disabling C2 compiler
- Updating
- Running memtest (https://www.memtest.org/) and it found no errors after 20 mins
- Not typing too fast
- Praying
None of them worked. Then the same issue started happening in Chrome browser with a crahsed tab reporting STATUS_ACCESS_VIOLATION and it made me use Edge browser (hit rock bottom there) for emergency use. How to test if the CPU is having issues? I read that i9 processors are having issues but the laptops are safe, I am growing ever skeptical about that.