fixed server crashing out of memory