-
Notifications
You must be signed in to change notification settings - Fork 523
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
packet too large , NPE #219
Comments
maxPacketSize 的问题只需要在 lealone.yaml 文件中加上以下配置即可: scheduler:
parameters: {
max_packet_size: 16777216 # 16M
} |
aggregate 命令有些语法还没有完全支持 |
codefollower
added a commit
that referenced
this issue
Jan 3, 2024
我mongorestore了3,4g数据, 读不出来,过会有OOM 出来
|
mongodb 文档太大,还没有试过,可能 gc 时会有问题。目前一个 page 就16K,如果一个 mongodb 文档就大于16K了,一个 page 只能存一个文档。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mongodb 文档最大是16mb https://www.mongodb.com/docs/manual/core/document/#document-size-limit
lealone 目前只支持8mb得, 大文档就报错了
Lealone/lealone-net/src/main/java/com/lealone/net/nio/NioEventLoop.java
Line 72 in cdecc1f
我本地修改了下, mongorestore 可以跑完了, 但读数据还有npe, 客户端卡死
The text was updated successfully, but these errors were encountered: