Hi @Tevon2.0 ,
Thank you for posting in the community.
This problem arises because the certain service takes up a lot of memory, resulting in not enough memory to execute this connection.
First, you can check the task manager, turn off the services that take up more memory, and try again.
Second, you can disable a memory checking from a Web Application and Restart IIS service.
Here is the article about hoe to disable a memory checking: SharePoint requests fail when memory is low
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.