FCPX hangs when I color correct a clip
Hi. My mid-2015 MacBook pro hangs when I color correct a clip. It happens when I try to change the parameters using the color controls and the percentage sliders. The beach ball starts spinning and, I'm forced to do a hard reset. This also happens at random when the video is playing. I'm able to hear only the audio clip but FCPX freezes and, the beach ball starts spinning. I've tried trashing the preferences and deleting render files but, it didn't help. The videos that I edit are mostly from my GoPro and my phone. The free storage space on my mac is somewhere around 200GB.
Mac Specs:
Mac OS 10.13.6
2.5GHz quad-core Intel Core i7 processor
16GB of 1600MHz DDR3L
AMD Radeon R9 M370X with 2GB of GDDR5
Please help me out with this. Thank you.