checking for leaks, for some reason mipmaps take cpu ram on windows and osx...