dont keep decoder in memory