That means that your remote machine has run out of resources (memory, GUI objects, etc) and cannot create the session. At this point your machine likely needs to be rebooted or at least you need to identify what is using up all the resources and stop it.
How you do that depends on what the remote machine actually is. If it is a VM using VMWare I believe there is a remote admin terminal you can use to get access to the command line which requires far less resources.
Alternatively you can connect to the console on the remote machine if you're using remote desktop. I haven't done this myself but the documented command is mstsc /console /V:machine
. Again, the console uses far less resources.
If the machine is so low on resources that you cannot remote at all then your options are very limited. You can try to use the shutdown command to restart the remote machine. Something like shutdown /l /r /f /d p:4:1 /c "Out of resources" /m \\server
. Of course if this is a VM then use the VMMS UI to shut down the machine.
If you cannot remote in nor use the shutdown command then your last option is to physically power down the machine.