Original Post
Hello, I'm programming world editor in DX9.0 and after users are working with it some time, DirectX is returning error like "out of memory", when code is trying to create occlusion query (for object selection). I'm using debug runtime (max validation, etc.) and there is no report about memory leaks. What is really strange, after restarting editor, "out of memory" message appear at the start of editor, and problem dissapear only after restarting windows. Is there any resource type, that may survive in DirectX after creating new "fresh" device ?