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)
We would like to understand, whether couchbase configuration/RAM usage/Number of buckets varies this result? Request for your suggestions in resolving this error.