The client gets an exception similar to:
ReplyError: ERR max member size exceeded. Limit: X bytes, Actual: Z bytes
Size of a SET or ZSET member in the request exceeds the max member size limit,
This is a hardcoded limit and cannot be configured per database. You should reduce the member sizes in SET and ZSET entries.