There can be multiple factors behind your computer freeze, but one of the most common ones we encounter is a defective memory module. Or, faulty RAM.
For a while now my Mac has been running slow, it seems to take ages to load the log in screen and my internet browsing is also very slow....