For Linux users, the Google Stressful Application Test (GSAT) is an excellent tool for diagnosing memory errors. Alternatively, you can run GSAT in Windows using the Windows Subsystem for Linux (WSL).
If it's just graphics, storage, or RAM that's holding your PC back, you may be able to save money by upgrading individual components. Keep in mind that GPU upgrades can sometimes force you to upgrade ...