fix high memory usage in Windows

welcome to shbcf.ru