The error message "Not enough storage is available to complete this operation" is given by the ASCOM camera driver when PHD2 ask for the image data.
There can be multiple reason for that:
- a bug in the camera driver can make it to try to allocate a terabyte buffer.
- a bug in the camera driver can prevent it to release the memory from the previous images, slowly exhausting the computer memory.
- a bug in any other running application that make it to exhaust the computer memory.
In any case this is something specific to your installation because it work fine for anyone else even with much smaller computer configuration.
To prevent the first two case be sure you install the latest available driver from the camera manufacturer.
Then use the Windows task manager to look at the running application memory usage to find the one with increasing memory usage over the time.
In the case you find this is PHD2, repeat the same but with a profile using the ASCOM camera simulator instead of your real camera.
Patrick