ngageoint / hootenanny

Hootenanny conflates multiple maps into a single seamless map.
GNU General Public License v3.0
358 stars 74 forks source link

Bad Allocation Exception in API Reader #5728

Closed bmarchant closed 1 year ago

bmarchant commented 1 year ago

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.