Home Help Center

Help

lixianglixiang Member
now we operate a query, the returned data is a sequence , if it will be some problem when the sequence is very big??how to resolve???

the error:

warning: dispatch exception: ../../include\Ice/BasicStream.h:55: Ice::MemoryLimitException:
protocol error: memory limit exceeded
identity: CallRecordMng
facet:
operation: EnumCallRecord


thanks!

Comments

  • marcmarc FloridaAdministrators, ZeroC Staff Marc LaukienOrganization: ZeroC, Inc.Project: The Internet Communications Engine ZeroC Staff
    Try setting the property Ice.MessageSizeMax to a higher value. The default is 1024, meaning 1024 KB = 1MB.
  • lixianglixiang Member
    thanks a lot!
  • fengxbfengxb Member feng xuebinOrganization: jiexin techProject: scientific calculation
    I suffered the same problem. I can not use the resolution you provided because I can not know the data amount in advance. Have any other ways to resolve the problem?

    Thanks in advance.
  • marcmarc FloridaAdministrators, ZeroC Staff Marc LaukienOrganization: ZeroC, Inc.Project: The Internet Communications Engine ZeroC Staff
    Just set it to a very high value, like 100 GB. Then you effectively don't have any check for a maximum message size in place.
  • fengxbfengxb Member feng xuebinOrganization: jiexin techProject: scientific calculation
    I see. Thank you very much.
Sign In or Register to comment.