I loaded a large JSON file in Python and watched memory jump from 43 MB to 808 MB. Here’s what happened and how streaming changed everything.
I copied a Python dictionary, but the original still changed. Here's how shallow copies, shared references, and deep copies ...