RAM usage is much higher than it should be