You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "moayi (GitHub)" <gi...@apache.org> on 2018/11/21 13:28:38 UTC

[GitHub] [incubator-dubbo] moayi opened issue #2813: dubbo的hessian协议上传文件限制的问题

各位大佬,dubbo的hessian协议上传文件的大小的限制吗?我用的server默认为jetty,上传几十M的文件没啥问题,倒是上传一个152m的文件就报堆内存溢出的异常了,请教各位大佬,谢谢。


[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2813 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo] carryxyh closed issue #2813: dubbo的hessian协议上传文件限制的问题

Posted by "carryxyh (GitHub)" <gi...@apache.org>.
[ issue closed by carryxyh ]

[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2813 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org


[GitHub] [incubator-dubbo] carryxyh commented on issue #2813: dubbo的hessian协议上传文件限制的问题

Posted by "carryxyh (GitHub)" <gi...@apache.org>.
> dubbo的hessian协议上传文件的大小的限制吗

有,8M。个人认为你的问题和dubbo没有什么关系。几十M的文件你也是通过http上传给jetty上的应用的,也不是用dubbo的接口传输的,通过rpc传输超过8M的数据会报错的。
内存溢出调整内存大小即可。

[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2813 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo] gt0012 commented on issue #2813: dubbo的hessian协议上传文件限制的问题

Posted by "gt0012 (GitHub)" <gi...@apache.org>.
路人甲路过,我无法解决你的问题,但是我想说一下我的看法,dubbo是一个rpc的通信框架,在使用上尽量做到传输多次,数据量小,保证dubbo响应时间尽量缩短,所以是否可以更换一个路子,不要用dubbo传递文件,把文件存储到一个地方,dubbo服务去获取。

[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2813 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo] carryxyh commented on issue #2813: dubbo的hessian协议上传文件限制的问题

Posted by "carryxyh (GitHub)" <gi...@apache.org>.
> dubbo的hessian协议上传文件的大小的限制吗

有,8M。个人认为你的问题和dubbo没有什么关系。几十M的文件你也是通过http上传给jetty上的应用的,不是用dubbo的接口传输的,跟dubbo传输的限制没有关系,通过rpc传输超过8M的数据会报错的。
内存溢出调整内存大小即可。

[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2813 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org