fix high memory usage using task manager