Save big gcode file memory overflow in the Windows platform.