You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 30, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 30, 2026. It is now read-only.
Reading from a non-existent database causes memory usage to grow #1089
It seems like requests that fail with a NOT_FOUND error can cause the Spanner client to consume memory. I suspect that it is caused by the invalidatedDbClients field in SpannerImpl:
It seems like requests that fail with a NOT_FOUND error can cause the Spanner client to consume memory. I suspect that it is caused by the invalidatedDbClients field in SpannerImpl:
java-spanner/google-cloud-spanner/src/main/java/com/google/cloud/spanner/SpannerImpl.java
Line 96 in 71d7fd1
I ran this test program to reproduce the issue with Java 11 and google-cloud-spanner 6.3.2: