clean runtime.xml size
add appConfig option to disable save runtime