A Cline user running the JetBrains plugin reported the standalone cline-core process crashing with an out-of-memory error roughly every 6-7 minutes. The crash diagnostic meant to help debug it was itself the bigger problem: each crash wrote a ~240MB heap snapshot to ~/.cline/heapsnapshots/ , and that snapshot contained hundreds of near-duplicate copies of the session's full in-memory state β including the user's provider API key, in plaintext.
What the source says
Per the GitHub issue , filed 2026-10-29: cline-core (JetBrains plugin 2.0.9, core 4.1.26) streams a full serialized copy of its globalState β chat transcript and API key included β to the JetBrains webview on every state change, with no backpressure on the update queue.β¦