add memory information output at the time memory is not enought