Details
Description
BeeswaxServer's LogContext class uses CharArrayWriter to store the logs from the hive driver. If hive's log is set to DEBUG level, it'll overwhelm the CharArrayBuffer, which doubles the array to grow.
One fix is to switch to a rotating buffer with a capacity. 1MB per query should be enough for normal usage.