Description
I was able to reproduce the issue using the script provided by the user. I've attached a plot created by mprof that shows the constant increase of memory usage.
from couchbase.cluster import Cluster, ClusterOptions
|
from couchbase.auth import PasswordAuthenticator
|
cluster = Cluster('couchbase://some-cluster?enable_tracing=false', ClusterOptions(PasswordAuthenticator('xxx', 'xxx')))
|
|
cb = cluster.bucket('xxx')
|
cb_coll_default = cb.default_collection()
|
cb_coll_default.upsert(str(123), '123')
|
for i in range(10000000):
|
try:
|
cb_coll_default.get(str(123))
|
except Exception:
|
pass
|
Attachments
Issue Links
- is duplicated by
-
PYCBC-1278 Memory leaks in KV get operation
- Closed
- relates to
-
PYCBC-1382 Custom Python types should call tp_free in their destructor
- Resolved
-
PYCBC-1278 Memory leaks in KV get operation
- Closed