Vulkan Error (VK_ERROR_OUT_OF_HOST_MEMORY)

Godot Version

Godot Engine v4.4.1.stable.steam.49a5bc7b6

Question

I have a problem. I wrote the code, it works correctly for renderer ‘gl_compatibility’ but as soon as I switch the renderer to ‘forward_plus’ I get this error:

E 0:00:00:11:820 command_queue_execute_and_present: QueuePresentKHR failed with error: VK_ERROR_OUT_OF_HOST_MEMORY
<C++ Error> Condition ‘err != VK_SUCCESS && err != VK_SUBOPOPTIMAL_KHR’ is true. Returning: FAILED
<C++ Source> drivers/vulkan/rendering_device_driver_vulkan.cpp:2742 @ command_queue_execute_and_present()

What can I do about this?

Here are the configurations of my PC:
Intel Core i5 9600KF 3.70GHz
Vulkan 1.4.303 - Forward+ - Using Device #0: NVIDIA - NVIDIA GeForce GTX 1060 6GB
Windows 10 Pro 22H2
RAM - 48 GB