Error management support and max_size flag