@AbdurRehman98,
It could be due to memory shortage on your machine. Check if the available memory is sufficient to run the Studio.