Home Help Center

Memory Exception

chuatecksiongchuatecksiong Member chuatecksiongOrganization: chuatecksiongProject: none
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

  • matthewmatthew NL, CanadaMember Matthew NewhookOrganization: ZeroC, Inc.Project: Internet Communications Engine ✭✭✭
    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
Sign In or Register to comment.