Memory issue with couchbase - default_transcoder.php

We are having an issue with Couchbase Version: 3.0.1 Community Edition (build-1444).
It’s a clustered environment. All nodes are the same version and SDK version.

The error below comes up and prevents us from storing or retrieving objects. An object goes in and false comes out on a future get call. Has anyone seen an issue like this before?

From our PHP log:

Allowed memory size of 268435456 bytes exhausted (tried to allocate
21795 bytes) in [CouchbaseNative]/default_transcoder.php on line 146

I would add the collected logs…but they are around 1.3GB. Let me know of a specific log to attach.

Can you give some more details about the document? what size is the document that you are trying to store?