Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot cache data larer than 1MB #127

Closed
SieurMonkey opened this issue Nov 4, 2020 · 2 comments
Closed

Cannot cache data larer than 1MB #127

SieurMonkey opened this issue Nov 4, 2020 · 2 comments

Comments

@SieurMonkey
Copy link

SieurMonkey commented Nov 4, 2020

There is a fixed limit for the maximum data size in the CacheData.class from transcoders :

image

However, it's possible to increase the limit size authorized by memcache by passing a "-I" option or by overriding a property (max_item_size) since 1.4.2 version.

I found it possible to edit the max size when using the SerializingTrancoder by setting the transcoder this way :

image

However, I didn't find a way to do so with a StringTranscoder.

@killme2008
Copy link
Owner

2.4.7 发布,增加了 xmemcached.cached.data.size.max 系统属性,可以通过 JVM 参数 -Dxmemcached.cached.data.size.max=xxx 设置默认最大值。

@killme2008
Copy link
Owner

Released 2.4.7, and it added a system property xmemcached.cached.data.size.max to control the default max size value, you can configure it by adding jvm argument -Dxmemcached.cached.data.size.max=xxxx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants