Comment 10 for bug 1616105

Revision history for this message
Samuel de Medeiros Queiroz (samueldmq) wrote : Re: Request of large files raises a MemoryError due to logging

Looking at the stacktrace posted in the description, this is not related to logging the response of the call, but to the call to the requests library in the response.text call.

Is this a bug in the requests library or are we not using it correctly ?

keystoneclient/session.py", line 464, in _send_request
    self._http_log_response(resp, logger)
  File "/home/etobdia/.env/cloud-wrapper/lib/python2.7/site-packages/keystoneclient/session.py", line 219, in _http_log_response
    text = _remove_service_catalog(response.text)
  File "/home/etobdia/.env/cloud-wrapper/lib/python2.7/site-packages/requests/models.py", line 773, in text
    encoding = self.apparent_encoding
  File "/home/etobdia/.env/cloud-wrapper/lib/python2.7/site-packages/