Showing results for 
Search instead for 
Did you mean: 

Vulkan - Memory Gradually Increases When Recreating Swapchain

Whenever I need to recreate my application's surface (due to window resize), memory briefly increases by a large amount (over a dozen megabytes), and then decreases to a level around 1MB higher than it was before. This seems to continue to happen no matter how many times the window is resized. Is this a memory leak, or is this some kind of memory optimization that stops allocating extra memory at some point?

Note: I verified that every single one of the Vulkan objects that I create on swapchain recreation is destroyed before being recreated.

0 Kudos
0 Replies