question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Storing large object exceeds Redis' max inline read request size.

See original GitHub issue

Expected behavior Store an object of size greater than 64kb as allowable in docs.

Actual behavior Client throws exception org.redisson.client.RedisException: ERR Protocol error: too big inline request

Steps to reproduce or test case

String baseString = "ba xy";
String dummyString = "";
for (int i = 0; i < ((1024*64)); i++) {
    dummyString = dummyString + baseString;
}
RBucket bucket = client.getBucket("key");
bucket.set(dummyString, 300, TimeUnit.SECONDS);

Redis version 5.0.12

Redisson version 3.15.5

Redisson configuration Single server configuration w/ sslEnableEndpointIdentification = false. I’ve tried with both StringCodec and FstCodec with no success.

Let me know if there’s a configuration to avoid inlining the request, I couldn’t find one via the docs.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
mrnikocommented, Jun 10, 2021

Unable to reproduce it. Can you try native implementation?

0reactions
mrnikocommented, Jun 14, 2021

Redis server response timeout

Seems Redis instance is too slow

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is the maximum value size you can store in redis?
EDIT: Because keys in Redis are strings, the maximum key size is 512 MiB. The maximum number of keys is 2^32 - 1...
Read more >
Redis FAQ
Redis has built-in protections allowing the users to set a max limit on memory usage, using the maxmemory option in the configuration file...
Read more >
What is the ideal value size range for redis? Is 100KB too large?
Hello, Is there a upper limit to the suggest size of the value stored for a particular key in redis? 512MB is the...
Read more >
Database memory limits | Redis Documentation Center
When you set a database's memory limit, you define the maximum size the database can reach in the cluster, across all database replicas...
Read more >
How to Use Redis With Python - Real Python
The db parameter is the database number. You can manage multiple databases in Redis at once, and each is identified by an integer....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found