#50·gron

Inexplicably high memory usage

Author: admjlsCreated Sep 6, 2018Updated Oct 17, 2025

When trying to process a 3GB JSON file on a machine with 62GB of available RAM, gron terminates (after about an hour) with the message fatal error: runtime: out of memory.

Out of curiosity, I spun up an r4.4xlarge in AWS and let it chew on the file - peak memory usage approached ~98GB (of 120GB free).