optimize flag & lowmemorykiller