Downloading a feature service with a large file size as the file geodatabase using ArcGIS API for Python from the Python console in ArcGIS Pro fails with the traceback error.
The issue is not reproducible with exporting large feature services and downloading them using the ArcGIS Pro 2.5.1 Python analysis window with an environment containing the ArcGIS API for Python 1.8.1.