Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 03-23-2005
chuatecksiong chuatecksiong is offline
Registered User
 
Name: chuatecksiong
Organization: chuatecksiong
Project: none
 
Join Date: Jan 2005
Posts: 8
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?
Reply With Quote
  #2 (permalink)  
Old 03-24-2005
matthew's Avatar
matthew matthew is online now
ZeroC Staff
 
Name: Matthew Newhook
Organization: ZeroC, Inc.
Project: Internet Communications Engine
 
Join Date: Feb 2003
Location: NL, Canada
Posts: 1,053
Quote:
Originally Posted by chuatecksiong
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
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Have IceUtil::Exception inherit from std::exception? bpolivka Comments 2 12-13-2006 11:52 AM
a question about memory laotee Help Center 8 06-22-2005 11:17 PM
In-memory IceStorm vukicevic Patches 2 01-20-2004 08:56 PM
Memory leak when using ice with MFC? _orchid_ Help Center 9 12-01-2003 07:02 PM
With MFC, memory leak? alwayscy1 Help Center 4 11-05-2003 09:48 PM


All times are GMT -4. The time now is 01:28 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.