Hello All,
We are using couchbase (Couchbase Buckets connecting through Java Client) extensively for storing user documents across our multiple applications. From the looks of the error we are getting, exception is very straight forward wherein it says the document what we are trying to save is of more than 20MB which can not be saved in couchbase bucket. But our problem is:
- Document is not more than 20 MB
- Same document we are able to save in couchbase in system testing environment (facing the error scenario in UAT)
Below is the entire stack trace:
JBWEB000071: root cause java.lang.IllegalArgumentException: Cannot cache data larger than 20971520 bytes (you tried to cache a 27104356 byte object)
net.spy.memcached.CachedData.<init>(CachedData.java:55)
net.spy.memcached.transcoders.SerializingTranscoder.encode(SerializingTranscoder.java:135)
net.spy.memcached.MemcachedClient.asyncStore(MemcachedClient.java:284)
net.spy.memcached.MemcachedClient.set(MemcachedClient.java:745)
com.couchbase.client.CouchbaseClient.set(CouchbaseClient.java:1210)
We would like to understand, whether couchbase configuration/RAM usage/Number of buckets varies this result? Request for your suggestions in resolving this error.