new gc_ratio configuration and memory collection logic when server is out of resources