my laptop crashes in seemingly unpredictable time intervals. I started to have this problem when my old hard drive (original HDD-hard drive of the Thinkpad L512) gave up and I replaced it with a new SSD-hard drive from
Scandisk Intenso 256 GB 2,5" SATA III. The reason why I suspected that it may not be a failure of the hard drive was that the crash always occurred only when I requested some RAM-intensive tasks, for example reloading four or five tabs in Firefox with YouTube-videos. The problem occurred with Chromium as well and it doesn't seem to be browser related, because this crashes are caused by any RAM-intensive activity.
Shortly before it crashes the fan winds up and the activities start to lag progressively until, in the worst case, I am not even able to open the menu to select a restart and have to shut the laptop down with the power button. Since I want to use Anaconda (Spyder) for some work with data analysis in Python and the problem occurs also there, I want to figure out what may be necessary to get the system work smoothly again. If I work normally with the laptop, those crashes can happen up to three or four times within six hours and it's really annoying after some time. I already checked the forum and found some related issues, but none of them being related to that situation especially. If it is a hard ware failure its fine as well, I just hesitate to simply by a new SSD without knowing if the SSD is really the problem.
Thanks for your help in advance.