I think resource manager and d3d graphics engine are not released properly. Causing memory leaks in gpu mem and regular mem