Make serverengine's memory usage thresh configurable