Studio always closed due to critical internal error

Kindly share the version of Studio you are using. This was a common error in version 22.10.XX version

If you are using similar version - Try for an upgrade

Also is it happening for all the process or only those process which contains many activities?? If it is specific to complex process - It could be due to memory issue as well