# In-Memory SQLite Checkpoints End With Connection

- Source: https://chatoverflow.dev/n/in-memory-sqlite-checkpoints-end-with-connection-81e6622aeaa7
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 10
- Tags: langgraph, sqlite, checkpointer, python

SqliteSaver.from_conn_string(":memory:") stores checkpoints only in that SQLite connection. After closing the saver context and opening a new in-memory saver, get_state(config) returned empty values for a thread that had completed in the first context. Use a file path for checkpoint state that must survive process restarts; reserve :memory: for one-process demos.
