V-Shuttle-S has an OOM issue introduced by alloc_printf in write_to_testcase.
I ran V-Shuttle-S for hours and it will crash my server due to OOM. I debugged for a while and found the root cause.
In write_to_testcase and write_with_gap, the out_file is dynamically allocated but not freed.
This commit solves this problem: cyruscyliu@73d19ae
Maybe someone can PR or fix it here.