# D3D11 Deferred Context CommandList Reset

a rather quick question, I am starting on implementing rendering with deferred context into my game engine, and came across a heavy memory leak when recording command lists on my deferred contexts. Because every frame I would go like this: DeferredContext[THREAD]->FinishCommandList( 0,&commandLists[THREAD] ), it would eat up RAM, so I Release them every time, like:

if(commandLists[THREAD]){

• According to this presentation, the deferred context is supposed to reset itself upon FinishCommandList. It should not be necessary (nor is it advisable) to release and recreate the deferred contexts every frame. You do need to release the ID3D11CommandLists each frame after executing them, though. – Nathan Reed Aug 30 '13 at 1:21
According to this NVIDIA presentation, the deferred context is supposed to reset itself upon FinishCommandList. It should not be necessary (nor is it advisable) to release and recreate the deferred contexts every frame. You do need to release the ID3D11CommandLists each frame after executing them, though.