fix windows memeory compute error