Limit mem

limit mem at listener
update log format