This forum has been archived. Please start a new discussion on GitHub.


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
operation: EnumCallRecord



  • marc
    marc Florida
    Try setting the property Ice.MessageSizeMax to a higher value. The default is 1024, meaning 1024 KB = 1MB.
  • thanks a lot!
  • 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.
  • marc
    marc Florida
    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.
  • I see. Thank you very much.