When reading certain areas using the Overpass API reader, Hootenanny throws a bad_alloc exception in the QString to QByteArray conversion before reading XML or JSON response. Both classes claim to allow 2^63 bytes max size but don't seem to allow for conversion that was about 809MB back and forth. Remove conversion and utilize original QByteArray in parsing code.
When reading certain areas using the Overpass API reader, Hootenanny throws a
bad_alloc
exception in theQString
toQByteArray
conversion before reading XML or JSON response. Both classes claim to allow 2^63 bytes max size but don't seem to allow for conversion that was about 809MB back and forth. Remove conversion and utilize originalQByteArray
in parsing code.