Seems to be the way it is bit shifting in `encodeInt` after adjusting data to be represented as a positive number. To reproduce: ``` thrift.BinaryParser.BinaryParser.fromLong(-1); FATAL ERROR: CALL_AND_RETRY_0 Allocation failed - process out of memory. ```
Seems to be the way it is bit shifting in
encodeIntafter adjusting data to be represented as a positive number.To reproduce: