[omniORB] Question regarding giopMaxMsgSize

Duncan Grisby duncan at grisby.org
Fri Aug 5 14:22:35 BST 2011


On Tue, 2011-08-02 at 12:17 +0530, anirudh nair wrote:

> I want to know if a fixed amount of memory is allocated by ORB
>  depending on the value of giopMaxMsgSize. I have set the default value
>  of giopMaxMsgSize to 512MB. Does this mean that ORB will allocate
>  512MB of memory in advance for the application or does it only mean
>  that the maximum data that can be transferred per call is 512MB?

No, omniORB doesn't allocate a buffer based on giopMaxMsgSize. It never
allocates a buffer that big -- it either uses 8K buffers, or directly
marshals data from application buffers.

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --





More information about the omniORB-list mailing list