 TODO: figure out how to measure memory footprint so that CPUs don't intercept on the memory footprint.