We've had rendering on servers without GPUs (and without monitors) using DX11.0 WARP running just fine. Now that our loads have increased I noticed we run out of memory. I'm releasing all resources (mainly textures and buffers) but since we don't have any swap-chain (and hence no Present), I can't get to any other conclusion than that the resources are never actually released and linger in RAM forever, until we run out of memory. My theory is supported by similar behaviour observation with GPUs (from all vendors) where the RAM is actually freed only after a couple frames and captures by Windows Performance Recorder/Analyzer with WARP.
I tried ID3D11DeviceCtx::Flush and ClearState, both to no avail (as expected).
Can anyone comment on WARP without swap-chains? Can I render "forever" without running out of memory because I never present?
Thanks for any ideas!
EDIT: Here I see that calling Flush should help but I just don't believe it - it doesn't help me and my RAM usage never goes down.