GPU - 9070XT
Driver - 26.3.1
VulkanSDK - 1.4.341.1
OS - Win 11 Pro 25H2, build 26200.8037
I am building a rendering engine using Vulkan. I've noticed a huge RAM leak in my code. It became apparent as I was doing some testing in IMMEDIATE rendering mode. I've tested multiple codebases with Vulkan to make sure that it's not my bug. Some of my tests in immediate mode resulted with the RAM usage spike up to 4GB.
The easiest way to reproduce is to run the "vkcube" application that comes bundled with the VulkanSDK. The longer the app runs the larger the RAM usage becomes and appears to be increasing indefinitely.
I've also done some debugging using my own custom memory allocators in Vulkan with dynamic rendering. I have found out that, in my case, for every queue submission, some allocations are created in the instance scope. 1/3 of the allocations are never released by the Vulkan instance.