I forgot to clean up handles in CommandBufferAccessContext::Reset.
With this fix the memory consumption by HandleRecord objects in doom capture is ~7MB (previously ~700MB).
There is an opportunity to de-duplicate groups of handles which might reduce HandleRecord memory usage to < 1MB range for complex workloads. That's a backup plan if we need to get rid of few more MBs.
I forgot to clean up handles in
CommandBufferAccessContext::Reset
. With this fix the memory consumption by HandleRecord objects in doom capture is ~7MB (previously ~700MB).There is an opportunity to de-duplicate groups of handles which might reduce
HandleRecord
memory usage to < 1MB range for complex workloads. That's a backup plan if we need to get rid of few more MBs.Also improvements to syncval stats system.