Archived

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

Memory Exception

What is the maximum memory size that my ICE Class/Structure can contain.
it seems that when I tried to save a file (almost abt 1 MB) into one of the string variable in an ICE Structure I have created, and when I retrieve it from another application, ICE will give me memory exception.
If the string in my structure cannot be too large, what is the maximum size?
and how do I get around this problem?

Comments

  • matthew
    matthew NL, Canada
    What is the maximum memory size that my ICE Class/Structure can contain.
    it seems that when I tried to save a file (almost abt 1 MB) into one of the string variable in an ICE Structure I have created, and when I retrieve it from another application, ICE will give me memory exception.
    If the string in my structure cannot be too large, what is the maximum size?
    and how do I get around this problem?

    There is no maximum size. However, for security there is a property that restricts how much data can be received by a server. If you need to receive larger amounts then you need to bump up the value of Ice.MessageSizeMax. See the Ice manual for more details.

    Regards, Matthew